Member-only story
Getting MRT Train Arrival Time with Workato
I have been taking the Singapore MRT (SMRT) train to work for the past few weeks since I am no longer working from home. I would like to get the MRT train arrival time so that I can plan my journey better. The MRT train arrival time is displayed on the LED screens at the stations. You can also check the MRT train arrival time on the SMRT website or on the SMRT mobile app. When you are planning your journey, you should keep in mind that the train frequency is about 2.5 to 3 minutes during peak hours and about 5 to 6 minutes during off-peak hours. So, you should plan your journey accordingly.
I decided to find out more about this and see if I could get this information and feed the data for my automation pipeline. In this blog, I would like to share what I have done to get the information and feed it with Workato.
Getting the Train Arrival Time
To get the train arrival time information, there is no API from the mrt train provider. We can get the information from its website, but we can’t just get that information and feed it into our pipeline.
The only way we can get the information is to reverse engineer the mobile phone app and study how to get that information. Luckily, I can get the information after spending a few days studying.