Day: December 7, 2015

DevelopersInformation

Unified API Part 5: AoT – Arrivals of Things

In Part 3 of this series, I gave examples of finding the Routes of Things using the Unified API. This article focusses on the “Arrivals of Things” – how to find out when services are going to arrive on those routes.

As before, all of the API examples in this page are live, however they do not include API authentication tokens. This means that if you follow the link as is, you will be using anonymous access, which is throttled for fair use, so you may get a 403 response. We recommend for your own development that you obtain an “app_key” and “app_id” by registering here. The data in these examples will be in JSON format, so installing a JSON formatter plugin in your browser will help you read the data returned.

Ride on time

Let’s start with the most prominent example of arrivals, shown when viewing a nearby stop:

At this bus stop we can see the time-to-stop of the next services due to arrive.

At this bus stop we can see the time-to-stop of the next services that are due to arrive.

Read More