Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUWHM
Name
West Ham
Hub
HUBWEH
Modes
dlr, tube
Coordinates
51.52818, 0.00500
StopPoints in this hub. Poll each id that carries the line you want.
West Ham
940GZZDLWHM
West Ham
940GZZLUWHM
Checking for a TfL API key…
940GZZLUWHM940GZZLUWHM940GZZLUWHM940GZZDLWHM{
"id": "940GZZLUWHM",
"name": "West Ham",
"kind": "stopPoint",
"modes": [
"dlr",
"tube"
],
"lineIds": [
"district",
"dlr",
"hammersmith-city",
"jubilee"
],
"hubId": "HUBWEH",
"hubMembers": [
{
"id": "940GZZDLWHM",
"name": "West Ham",
"lineIds": [
"dlr"
]
},
{
"id": "940GZZLUWHM",
"name": "West Ham",
"lineIds": [
"district",
"hammersmith-city",
"jubilee"
]
}
],
"arrivalsStopIds": [
"940GZZLUWHM",
"940GZZDLWHM"
],
"aliasIds": [
"940GZZDLWHM",
"HUBWEH"
],
"lat": 51.528178,
"lon": 0.004997
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUWHM")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUWHM","940GZZDLWHM"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUWHM")