SwitzerlandSwitzerlandswitzerlandswitzerlandJSONpublic-transportrail-transportOct 10, 20132013-10-10
Dataset
Swiss Open Transport API
Swiss public transport connections and stations, including some realtime data.
About
Swiss public transport connections and stations, including some realtime data.
Examples:
Download & API
Connectionsjson80 B
Returns the next connections from one location to another.
Example Request:
`GET http://transport.opendata.ch/v1/connections?from=Lausanne&to=Genève`
See http://transport.opendata.ch/#connections
Locationsjson15 B
Returns the matching locations for the given parameters.
The locations in the response are scored to determine which is the most exact location.
A call can return a refine response, what means that the request has to be redone.
Example request:
`GET http://transport.opendata.ch/v1/locations?query=Basel`
See http://transport.opendata.ch/#locations
Sources & license
Sources