Explorer
Points are stations, stops, and docks; lines are the routes that serve them.
Station hub
ID
940GZZLUKEN
Name
Kenton
Hub
HUBKNT
Modes
overground, tube
Coordinates
51.58179, -0.31695
StopPoints in this hub. Poll each id that carries the line you want.
Kenton
910GKTON
Kenton
940GZZLUKEN
Checking for a TfL API key…
{
"id": "940GZZLUKEN",
"name": "Kenton",
"kind": "stopPoint",
"modes": [
"overground",
"tube"
],
"lineIds": [
"bakerloo",
"lioness"
],
"hubId": "HUBKNT",
"hubMembers": [
{
"id": "910GKTON",
"name": "Kenton",
"lineIds": [
"lioness"
]
},
{
"id": "940GZZLUKEN",
"name": "Kenton",
"lineIds": [
"bakerloo"
]
}
],
"arrivalsStopIds": [
"940GZZLUKEN",
"910GKTON"
],
"aliasIds": [
"910GKTON",
"HUBKNT"
],
"lat": 51.581786,
"lon": -0.316946
}stopPoint.get / bikePoint.getById
await client.stopPoint.get("940GZZLUKEN")stopPoint.getArrivals
await client.stopPoint.getArrivals({
stopPointIds: ["940GZZLUKEN","910GKTON"],
sortBy: "timeToStation",
})stopPoint.getRoute
await client.stopPoint.getRoute("940GZZLUKEN")