Skip to content
Beebeeoii edited this page Aug 31, 2020 · 4 revisions

Usage of SGCommute API

Routes

Regarding bus services

  1. All bus services' details

https://sgcommute-287703.appspot.com/buses

  1. Single bus service's details

https://sgcommute-287703.appspot.com/{busServiceNumber} where busServiceNumber=27 for bus 27 3.Single bus service's route https://sgcommute-287703.appspot.com/{busServiceNumber}/route where busServiceNumber=27 for bus 27

Regarding bus stops

  1. All bus stops details

https://sgcommute-287703.appspot.com/busstops

  1. Single bus stop's details

https://sgcommute-287703.appspot.com/busstops/{busStopNumber} where busStopNumber=01012 for bus stop 01012

  1. All bus arrival timings at a single bus stop

https://sgcommute-287703.appspot.com/busstops/{busStopNumber}/arrivals where busStopNumber=01012 for bus stop 01012

  1. Single bus arrival timings at a single bus stop

https://sgcommute-287703.appspot.com/busstops/{busStopNumber}/{busServiceNumber} where busStopNumber=01012 and busServiceNumber=12 for bus 12 at bus stop 01012

Clone this wiki locally