[][src]Crate wmata

wmata is a simple interface to the WMATA's API.

Design

wmata provides two main interfaces: MetroBus and MetroRail.

MetroBus

The interface to WMATA's MetroBus related methods

MetroRail

The interface to WMATA's MetroRail related methods

Re-exports

pub use bus::client::Client as MetroBus;
pub use rail::client::Client as MetroRail;
pub use date::Date;
pub use location::RadiusAtLatLong;
pub use bus::route::Route;
pub use bus::stop::Stop;
pub use rail::line::Line;
pub use rail::station::Station;

Modules

bus

Client and responses for MetroBus endpoints.

date

Date related structs and implementations

error

Errors used throughout the crate.

location

Location related types used throughout the crate.

rail

Client and responses for MetroRail endpoints.