Crate dvb [−] [src]
An unofficial rust crates giving you a few options to query a collection of 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").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 |