Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZDLSHA
Name
Shadwell
Hub
HUBSDE
Modes
dlr, overground
Coordinates
51.51129, -0.05692
StopPoints in this hub. Poll each id that carries the line you want.
Shadwell
910GSHADWEL
Shadwell
940GZZDLSHA
Checking for a TfL API key…
{
"id": "940GZZDLSHA",
"name": "Shadwell",
"kind": "stopPoint",
"modes": [
"dlr",
"overground"
],
"lineIds": [
"dlr",
"windrush"
],
"hubId": "HUBSDE",
"hubMembers": [
{
"id": "910GSHADWEL",
"name": "Shadwell",
"lineIds": [
"windrush"
]
},
{
"id": "940GZZDLSHA",
"name": "Shadwell",
"lineIds": [
"dlr"
]
}
],
"arrivalsStopIds": [
"940GZZDLSHA",
"910GSHADWEL"
],
"aliasIds": [
"910GSHADWEL",
"HUBSDE"
],
"lat": 51.511289,
"lon": -0.0569187
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZDLSHA")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZDLSHA","910GSHADWEL"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZDLSHA")