2012年3月16日星期五

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

沒有留言:

張貼留言