Hello colleagues,
What is the correct way to retrieve the Piccadilly Route to Heathrow Terminal 4? I tried multiple ways, but unfortunately none of them worked.
The first endpoint I tried was: https://api.tfl.gov.uk/line/piccadilly/route/sequence/inbound?serviceTypes=Regular,Night. Unfortunately it doesn’t return any routes arriving at Terminal 4 (HR4), but only those to Terminal 5.
The second endpoint I tried was for the timetables/journeys and I tried multiple departures (Earl’s Court, Cockfosters, etc). https://api.tfl.gov.uk/line/piccadilly/timetable/940GZZLUECT?direction=inbound. Again no success…
Is there anything wrong with the data, or am I doing it in a wrong way?
Meanwhile, I noticed that the journey planner at the TfL website works fine and finds journeys to Terminal 4 with the Piccadilly Line.
Best regards,
Mladen