Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUCWR
Name
Canada Water
Hub
HUBZCW
Modes
overground, tube
Coordinates
51.49805, -0.04967
StopPoints in this hub. Poll each id that carries the line you want.
Canada Water
910GCNDAW
Canada Water
940GZZLUCWR
Checking for a TfL API key…
{
"id": "940GZZLUCWR",
"name": "Canada Water",
"kind": "stopPoint",
"modes": [
"overground",
"tube"
],
"lineIds": [
"jubilee",
"windrush"
],
"hubId": "HUBZCW",
"hubMembers": [
{
"id": "910GCNDAW",
"name": "Canada Water",
"lineIds": [
"windrush"
]
},
{
"id": "940GZZLUCWR",
"name": "Canada Water",
"lineIds": [
"jubilee"
]
}
],
"arrivalsStopIds": [
"940GZZLUCWR",
"910GCNDAW"
],
"aliasIds": [
"910GCNDAW",
"HUBZCW"
],
"lat": 51.498053,
"lon": -0.049667
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUCWR")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUCWR","910GCNDAW"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUCWR")