2012年3月16日 星期五

Taipei Rapid Transit System(TRTS) Data RESTful API Documentation

Dear friends,

You can now access Taipei Rapid Transit System(TRTS) Data with the following RESTful API :

The list allTRTS stops information:
  • GET traffic/metroTpe/stops/
Format : JSON

Format Definition
  • name:The stop name
  • id:Random ID
  • latitude:The latitude of the stop
  • longitude:The longitude of the stop
Example Request:GET http://api.accesstaiwan.org/traffic/metroTpe/stops/

To get single TRTS stop information:
  • GET traffic/metroTpe/stops/{stopName}
Format : JSON

Example Request:GET http://api.accesstaiwan.org/traffic/metroTpe/stops/Huzhou

Taiwan Railways data RESTful API Documentation

Dear friends,

You can now access Taiwan Railways(TRAs) data with following RESTful API.

To list all TRAs stations information:
Format:JSON

JSON Definition
  • name: The stop name
  • id: Random ID
  • latitude: The latitude of the stop
  • longitude: The longitude of the stop
Example Request:GET http://api.accesstaiwan.org/traffic/tra/stops/

To get single TRA stop information:
  • GET traffic/tra/stop/{stopName}
Format:JSON

Example Request:GET http://api.accesstaiwan.org/traffic/tra/stop/Taipei

Kaohsiung Rapid Transit(KRT) RESTful API Documentation

Dear friends,

You can now access Kaohsiung Rapid Transit(KRT) data with the following RESTful API :

To list all KRT stops information:
  • GET traffic/metroKao/stops/
Format:JSON
JSON Definition
  • name:The stop name
  • id:Random ID
  • latitude:The latitude of the stop
  • longitude:The longitude of the stop
Example Request:GET http://api.accesstaiwan.org/traffic/metroKao/stops

To get single KRT stop information:
  • GET traffic/metroKao/stops/{stopName}

Format:JSON
Example Request:GET http://api.accesstaiwan.org/traffic/metroKao/stops/Cingpu

To list all KRT stops between two stops:
  • GET traffic/metroKao/stops/{from}/{to}
Format:JSON
Example Request:http://api.accesstaiwan.org/traffic/metroKao/stops/Cingpu/Houjing

For your convenience, we list all the KRT stations below:
  • Ciaotou Station
  • Ciaotou Sugar Refinery
  • Cingpu
  • Metropolitan Park
  • Houjing
  • Zanzih Export Processing Zone
  • Oil Refinery Elementary School
  • World Games
  • Zuoying
  • Ecological District
  • Kaohsiung Arena
  • Aozihdi
  • Houyi
  • Kaohsiung Main Station
  • Formosa Boulevard
  • Central Park
  • Sanduo Shopping District
  • Kaisyuan
  • Shihjia
  • Cianjhen Senior High School
  • Caoya
  • Kaohsiung International Airport
  • Siaogang
  • Sizihwan
  • Yanchengpu
  • City Council
  • Sinyi Elementary School
  • Cultural Center
  • Wukuaicuo
  • Martial Arts Stadium
  • Weiwuying
  • Fongshan West
  • Fongshan
  • Dadong
  • Fongshan Junior High School
  • Daliao