You can now access Taiwan Railways(TRAs) data with following RESTful API.
To list all TRAs stations information:
Format:JSONJSON Definition
- name: The stop name
- id: Random ID
- latitude: The latitude of the stop
- longitude: The longitude of the stop
To get single TRA stop information:
- GET traffic/tra/stop/{stopName}
Example Request:GET http://api.accesstaiwan.org/traffic/tra/stop/Taipei
沒有留言:
張貼留言