Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| data:swiss-transport [2012/03/20 13:03] – loleg | data:swiss-transport [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== | 
| - | === Introduction === | + | See details here: [[project: | 
| - | + | ||
| - | The Transport API allows interested developers to build their own applications using public timetable data, whether they' | + | |
| - | + | ||
| - | API Documentation | + | |
| - | + | ||
| - | The Transport API builds on REST style resources which respond in JSON. Individual resources are detailed below. | + | |
| - |  | + | |
| - | /stations / | + | |
| - | + | ||
| - | Returns the matching locations for the given parameters. | + | |
| - | + | ||
| - | The locations in the response are scored to determine which is the most exact location. This method can return a refine response, what means that the request has to be redone. | + | |
| - | + | ||
| - | === Resource URL === | + | |
| - | + | ||
| - | < | + | |
| - | http:// | + | |
| - | </ | + | |
| - | + | ||
| - | === Example Request === | + | |
| - | < | + | |
| - | GET http:// | + | |
| - | </ | + | |
| - | + | ||
| - | === Example response === | + | |
| - | < | + | |
| - | { | + | |
| - | " | + | |
| - | { | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | " | + | |
| - | }, { | + | |
| - | </ | + | |