I’m trying to get live arrival / departure data for a local station. Naptan ID is 910GHRNSY
I’ve tried the following APIs:
This always returns an empty array .
This returns the following:
{ "$type": "Tfl.Api.Presentation.Entities.TimetableResponse, Tfl.Api.Presentation.Entities", "disambiguation": { "$type": "Tfl.Api.Presentation.Entities.Timetables.Disambiguation, Tfl.Api.Presentation.Entities", "disambiguationOptions": [{ "$type": "Tfl.Api.Presentation.Entities.Timetables.DisambiguationOption, Tfl.Api.Presentation.Entities", "description": "Moorgate Rail Station - Royston Rail Station", "uri": "/Line/great-northern/Timetable/910GHRNSY/outbound" }, { "$type": "Tfl.Api.Presentation.Entities.Timetables.DisambiguationOption, Tfl.Api.Presentation.Entities", "description": "Stevenage Rail Station - Moorgate Rail Station", "uri": "/Line/great-northern/Timetable/910GHRNSY/inbound" }, { "$type": "Tfl.Api.Presentation.Entities.Timetables.DisambiguationOption, Tfl.Api.Presentation.Entities", "description": "London King's Cross Rail Station - Royston Rail Station", "uri": "/Line/great-northern/Timetable/910GHRNSY/outbound" }, { "$type": "Tfl.Api.Presentation.Entities.Timetables.DisambiguationOption, Tfl.Api.Presentation.Entities", "description": "Stevenage Rail Station - London King's Cross Rail Station", "uri": "/Line/great-northern/Timetable/910GHRNSY/inbound" }] } }
Which I guess means I need to specify /inbound or /outbound. So I then do
- /Line/great-northern/Timetable/910GHRNSY%2Foutbound (with correct host etc, forum doesn’t let me paste the full link)
but this returns a 404.
Am I missing something? Or does the API simply not support National Rail?