Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZDLCGT
Name
Canning Town
Hub
HUBCAN
Modes
dlr, tube
Coordinates
51.51403, 0.00802
StopPoints in this hub. Poll each id that carries the line you want.
Canning Town
940GZZDLCGT
Canning Town
940GZZLUCGT
Checking for a TfL API key…
{
"id": "940GZZDLCGT",
"name": "Canning Town",
"kind": "stopPoint",
"modes": [
"dlr",
"tube"
],
"lineIds": [
"dlr",
"jubilee"
],
"hubId": "HUBCAN",
"hubMembers": [
{
"id": "940GZZDLCGT",
"name": "Canning Town",
"lineIds": [
"dlr"
]
},
{
"id": "940GZZLUCGT",
"name": "Canning Town",
"lineIds": [
"jubilee"
]
}
],
"arrivalsStopIds": [
"940GZZDLCGT",
"940GZZLUCGT"
],
"aliasIds": [
"940GZZLUCGT",
"HUBCAN"
],
"lat": 51.514029,
"lon": 0.008025
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZDLCGT")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZDLCGT","940GZZLUCGT"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZDLCGT")