Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUBNK
Name
Bank
Hub
HUBBAN
Modes
dlr, tube
Coordinates
51.51340, -0.08909
StopPoints in this hub. Poll each id that carries the line you want.
Bank
940GZZDLBNK
Bank
940GZZLUBNK
Checking for a TfL API key…
940GZZLUBNK940GZZLUBNK940GZZLUBNK940GZZDLBNK{
"id": "940GZZLUBNK",
"name": "Bank",
"kind": "stopPoint",
"modes": [
"dlr",
"tube"
],
"lineIds": [
"central",
"dlr",
"northern",
"waterloo-city"
],
"hubId": "HUBBAN",
"hubMembers": [
{
"id": "940GZZDLBNK",
"name": "Bank",
"lineIds": [
"dlr"
]
},
{
"id": "940GZZLUBNK",
"name": "Bank",
"lineIds": [
"central",
"northern",
"waterloo-city"
]
}
],
"arrivalsStopIds": [
"940GZZLUBNK",
"940GZZDLBNK"
],
"aliasIds": [
"940GZZDLBNK",
"HUBBAN"
],
"lat": 51.513395,
"lon": -0.089095
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUBNK")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUBNK","940GZZDLBNK"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUBNK")