dbrgn / fahrplan

A SBB/CFF/FFS commandline based timetable client. Project started at make.opendata.ch.
GNU General Public License v3.0
132 stars 20 forks source link

Create fahren.py #19

Closed ghost closed 10 years ago

ghost commented 10 years ago

I played around with this module My question is how can get the strings as time,departures,arrivals out from the module. Thanks for help.

dbrgn commented 10 years ago

If you want to query specific connections, you probably shouldn't call fahrplan.py directly, you're better off by using the transport API directly:

http://transport.opendata.ch/#connections

There's a very simple RESTful interface to query connections, where you receive JSON data as a response.

I'll close this for now, you may still add more comments though if you want to know anything else.