Hello, this is my first day using the Unified API. I’m starting to work through the documentation. I have a simple question - How can Icraft an API call to get:
a list of lines
a list of stations for each line.
This will help me get my bearings.
Thanks!
Welcome!
I just priovied the answer to that question here…
Hi Brian,
Thank you so much for your helpful response. I have tried all these combinations but still not able to get the correct information with a respective line.
If I am supposed to using https://api.tfl.gov.uk/line/bakerloo/arrivals API gives station name but they are not in subsequent stations they are random.
And for each station’s details (like to get geolocation) I have to make a separate call using https://api.tfl.gov.uk/stoppoint/Waterloo Underground Station API which is costly fo…
You can also get them in KML format (XML for Google Maps) from here
http://data.tfl.gov.uk/tfl/syndication/feeds/stations.kml?app_id=&app_key=
Which retains the station order
1 Like
Got it. Thanks a lot Brian