Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZDLCUS
Name
Custom House (for ExCel)
Hub
HUBCUS
Modes
dlr, elizabeth-line
Coordinates
51.51876, 0.02742
StopPoints in this hub. Poll each id that carries the line you want.
Custom House
910GCUSTMHS
Custom House (for ExCel)
940GZZDLCUS
Checking for a TfL API key…
940GZZDLCUS910GCUSTMHS{
"id": "940GZZDLCUS",
"name": "Custom House (for ExCel)",
"kind": "stopPoint",
"modes": [
"dlr",
"elizabeth-line"
],
"lineIds": [
"dlr",
"elizabeth"
],
"hubId": "HUBCUS",
"hubMembers": [
{
"id": "910GCUSTMHS",
"name": "Custom House",
"lineIds": [
"elizabeth"
]
},
{
"id": "940GZZDLCUS",
"name": "Custom House (for ExCel)",
"lineIds": [
"dlr"
]
}
],
"arrivalsStopIds": [
"940GZZDLCUS",
"910GCUSTMHS"
],
"aliasIds": [
"910GCUSTMHS",
"HUBCUS"
],
"lat": 51.518757,
"lon": 0.027418
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZDLCUS")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZDLCUS","910GCUSTMHS"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZDLCUS")