Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUWBN
Name
West Brompton
Hub
HUBWBP
Modes
overground, tube
Coordinates
51.48717, -0.19559
StopPoints in this hub. Poll each id that carries the line you want.
West Brompton
910GWBRMPTN
West Brompton
940GZZLUWBN
Checking for a TfL API key…
{
"id": "940GZZLUWBN",
"name": "West Brompton",
"kind": "stopPoint",
"modes": [
"overground",
"tube"
],
"lineIds": [
"district",
"mildmay"
],
"hubId": "HUBWBP",
"hubMembers": [
{
"id": "910GWBRMPTN",
"name": "West Brompton",
"lineIds": [
"mildmay"
]
},
{
"id": "940GZZLUWBN",
"name": "West Brompton",
"lineIds": [
"district"
]
}
],
"arrivalsStopIds": [
"940GZZLUWBN",
"910GWBRMPTN"
],
"aliasIds": [
"910GWBRMPTN",
"HUBWBP"
],
"lat": 51.487168,
"lon": -0.195593
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUWBN")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUWBN","910GWBRMPTN"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUWBN")