Trackernet: Difference between revisions
EvelynSnow (talk | contribs) Trackernet, stub introduction, link to documentation, note about URL substitution |
Leon Byford (talk | contribs) Add notes about August 2024 changes |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
TfL's unified API is more suitable for many use cases (and is actively maintained), but omits operational data which may be of interest. | TfL's unified API is more suitable for many use cases (and is actively maintained), but omits operational data which may be of interest. | ||
In the documentation, URLs are given with an example prefix (e.g. | In the documentation, URLs are given with an example prefix (e.g. http://example.gov.uk/TrackerNet/PredictionSummary/C), the domain must be substituted (e.g. http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/C). | ||
== August 2024 changes == | |||
From Wednesday 14 August 2024, a new endpoint for Trackernet will be available, which will require an API key that can be obtained from the [https://api-portal.tfl.gov.uk/ TfL API Portal]. Requests should be made as in the following example: | |||
https://api.tfl.gov.uk/TrackerNet/PredictionSummary/C?app_key=0123456789abcdef0123456789abcdef | |||
The API key can also be passed in via an HTTP request header named `app_key`. | |||
From Saturday 31 August 2024, the <code>cloud.tfl.gov.uk</code> endpoint will be sunset. | |||
Further information is available on the [https://techforum.tfl.gov.uk/t/alert-changes-to-legacy-trackernet-and-esui-feeds-post-updated-5-august-2024/3371 TfL Tech Forum]. | |||
== Documentation == | == Documentation == | ||
https://content.tfl.gov.uk/trackernet-data-services-guide-beta.pdf | https://content.tfl.gov.uk/trackernet-data-services-guide-beta.pdf |
Latest revision as of 07:06, 6 August 2024
Trackernet (stylised TrackerNet) is a system operated by Transport for London, some data from which is available to the public in the form of Trackernet's data services. These services can be used to obtain real-time predictions for entire lines, more detailed predictions for individual stations, and information on station and line status. Trackernet only covers London Underground.
TfL's unified API is more suitable for many use cases (and is actively maintained), but omits operational data which may be of interest.
In the documentation, URLs are given with an example prefix (e.g. http://example.gov.uk/TrackerNet/PredictionSummary/C), the domain must be substituted (e.g. http://cloud.tfl.gov.uk/TrackerNet/PredictionSummary/C).
August 2024 changes
From Wednesday 14 August 2024, a new endpoint for Trackernet will be available, which will require an API key that can be obtained from the TfL API Portal. Requests should be made as in the following example:
https://api.tfl.gov.uk/TrackerNet/PredictionSummary/C?app_key=0123456789abcdef0123456789abcdef
The API key can also be passed in via an HTTP request header named `app_key`.
From Saturday 31 August 2024, the cloud.tfl.gov.uk
endpoint will be sunset.
Further information is available on the TfL Tech Forum.
Documentation
https://content.tfl.gov.uk/trackernet-data-services-guide-beta.pdf