View on GitHub

Singapore-LTA-API

Experimenting with Singapore LTA APIs

Using open data from Land Transport Authority (LTA) to find out which bus stops at a given time are very popular and result in packed bus services.

Maps showing buses that are either standing-only or completely full

Here are the interactive maps with data snapshots on Google Maps

sample

Analytics

How to ?

1 - Request access on the LTA website

2 - Make sure you read the Terms of Service

3 - Check out the API Documentation

4 - clone this repository and create a file called ‘apikey.cfg’ with the following content:

AccountKey="[your key]"

Example:

AccountKey=”WW91cktleTEyQ1Njc4==”

for Google Maps take a note of your key ID and put it in a file called googlemaps-key.inc

5 - test the scripts