Real-time information about major municipal-run or commissioned transit services (buses, subway, rail, tram etc). Real-time transit information means things like the location of actual services (individual buses and trains, etc)
Data Location
https://datamall.mytransport.sg/ltaodataservice.svc/TravelTimeSetComments
Available in bulk?
API responses are limited to a max of 50 records of the dataset per call. To retrieve more records, one needs to append the following parameter $skip=X’ to the API call (URL), with X being a number of records to skip.
If I would have wanted to retrieved the 51st to the 100th record for the estimated travel times the API call should have been :
https://datamall.mytransport.sg/ltaodataservice.svc/TravelTimeSet?$skip=50
They also explain how to retrieve the full set of data programmatically, something I didn’t do. The example you can find below is coded in Python 2.7.
See the document on the Drive.
Openly licensed?
At first sight, it seems to be openly licensed but since only four purposes of usage are proposed, namely Mobile App, Website / Portal, Research and Student Projects, with the possibility to select the “others” purpose compartment, it seems that MyTransport.SG can actually deny you the access. So it is not completely openly licensed.
Is the data provided on a timely and up to date basis?
Yes, the data is updated every 5 minutes.
Further Details and Comments: /
Research notes:
The data was quite easy to find. After exploring the LTA website for a few minutes, I went to the “e-services” rubric where I found a link to the MyTransport.SG website. On the latter I directly clicked on the DataMall rubric where it was possible to download some static data but also real time / dynamic data. From there, I made request to get an API access in order to have access to real time / dynamic data. After submitting my request in which I briefly described why I wanted to consult the data provided my MyTransport.SG I soon received an answer with an Account Key and a Unique User ID, which were said to be used only by me and that they would control my activities. Later on I downloaded the Data Singapore User Guide, which gives clear explanations about how to download real time data. Following the instructions, I went to https://requestmaker.com/ where I could get the data I was looking for.
Reviewer comments
Excellent analysis of the bulk and license criteria. Research notes are complete.
Data Availability
Key:
- Yes
- No
- Unsure
- No data
Details
Date the data became available | Unknown |
Format of data | XML |
Reviewer | Samuel GOETA |
Submitters | Roberto Lopez |
Last modified | Wed Dec 09 2015 18:30:58 GMT+0000 (UTC) |