SINGAPORE-BUS

Get information of all the bus-stops in Singapore

GitHub documentation

Usage

1. Making an HTTP request via a web browser or API platform etc. Postman.

2. The following parameters are accepted:

id

Bus stop code

E.g. 01119 (Bugis Junction)

download

To download the JSON output

Empty or any value is fine

  1. Depending on the parameters, the script will construct a URL to fetch information from the GitHub owner's API accordingly.

Parameter Guidelines

  • id parameter:

    • The script will retrieve information of a bus-stop according to its ID.

  • download parameter

    • The JSON output will be automatically downloaded from the web browser. See the download sample at here.

References

Browse all bus-stops' ID in Singapore

Demo

Retrieves information of Bugis Junction bus-stop
Retrieves information of Capitol Building bus-stop

Download

Last updated