Crate dvb [] [src]

An unofficial crate to query publicly accessible API methods for Dresden's public transport system.

Currently the endpoints are supported:

Station

http://widgets.vvo-online.de/abfahrtsmonitor/Haltestelle.do

Station::new("Slub").results();

Monitor

http://widgets.vvo-online.de/abfahrtsmonitor/Abfahrten.do

Monitor::new("HBF").departures_by_line();

Modules

error

Error definictions combining Json, Hyper, IO and Api Errors. This is generated using error-chain.

prelude

Everything you're ever going to need to import;

Structs

Monitor

Modeling the endpoint "abfahrtsmonitor/Abfahrten".

Station

Modeling the endpoint "abfahrtsmonitor/Haltestelle".

Constants

MONITOR_URL

API Url for Monitor

STATION_URL

API Url for Stations