GET /estonian-transport/tlt/vehicles
GPS-позиции каждого транспортного средства общественного транспорта Таллина (TLT) в реальном времени, разобранные из transport.tallinn.ee. Каждая запись содержит тип, линию, lat/lon, направление, идентификатор транспортного средства, маршрут и пункт назначения.
curl https://nordapi.ee/api/v1/estonian-transport/tlt/vehicles
{
"data": {
"count": 21,
"vehicles": [
{
"destination": "Vana-Pääsküla",
"heading": 18,
"lat": 59.44165,
"line": "96",
"lon": 24.74211,
"route": "13",
"type": "7",
"vehicle_id": "1204"
},
{
"destination": "Mustamäe",
"heading": 245,
"lat": 59.44126,
"line": "91",
"lon": 24.74031,
"route": "5",
"type": "7",
"vehicle_id": "1225"
},
{
"destination": "Pelguranna",
"heading": 238,
"lat": 59.44106,
"line": "93",
"lon": 24.73966,
"route": "5",
"type": "7",
"vehicle_id": "1232"
},
{
"destination": "Balti jaam",
"heading": 36,
"lat": 59.44638,
"line": "93",
"lon": 24.6997,
"route": "12",
"type": "7",
"vehicle_id": "1233"
},
{
"destination": "Vana-Pääsküla",
"heading": 221,
"lat": 59.37504,
"line": "96",
"lon": 24.64764,
"route": "3",
"type": "7",
"vehicle_id": "1235"
},
{
"destination": "Viru keskus",
"heading": 162,
"lat": 59.43214,
"line": "34",
"lon": 24.8424,
"route": "48",
"type": "2",
"vehicle_id": "1960"
},
{
"destination": "Balti jaam",
"heading": 26,
"lat": 59.40484,
"line": "91",
"lon": 24.70085,
"route": "12",
"type": "7",
"vehicle_id": "2065"
},
{
"destination": "Balti jaam",
"heading": 48,
"lat": 59.4227,
"line": "92",
"lon": 24.6459,
"route": "12",
"type": "7",
"vehicle_id": "2132"
},
{
"destination": "Väike-Õismäe",
"heading": 237,
"lat": 59.44117,
"line": "92",
"lon": 24.74006,
"route": "5",
"type": "7",
"vehicle_id": "2497"
},
{
"destination": "Viimsi keskus",
"heading": 226,
"lat": 59.44082,
"line": "95",
"lon": 24.73952,
"route": "13",
"type": "7",
"vehicle_id": "2662"
},
{
"destination": "Balti jaam",
"heading": 25,
"lat": 59.42947,
"line": "96",
"lon": 24.74382,
"route": "8",
"type": "7",
"vehicle_id": "2671"
},
{
"destination": "Balti jaam",
"heading": 52,
"lat": 59.44112,
"line": "95",
"lon": 24.74065,
"route": "8",
"type": "7",
"vehicle_id": "3032"
},
{
"destination": "Priisle",
"heading": 241,
"lat": 59.44098,
"line": "94",
"lon": 24.73929,
"route": "13",
"type": "7",
"vehicle_id": "3106"
},
{
"destination": "Balti jaam",
"heading": 277,
"lat": 59.50907,
"line": "95",
"lon": 24.82949,
"route": "4",
"type": "7",
"vehicle_id": "3135"
},
{
"destination": "Priisle",
"heading": 210,
"lat": 59.43235,
"line": "66",
"lon": 24.84038,
"route": "20",
"type": "2",
"vehicle_id": "3261"
},
{
"destination": "Balti jaam",
"heading": 248,
"lat": 59.44903,
"line": "94",
"lon": 24.88681,
"route": "4",
"type": "7",
"vehicle_id": "3314"
},
{
"destination": "Seli",
"heading": 70,
"lat": 59.43276,
"line": "60",
"lon": 24.84229,
"route": "86",
"type": "2",
"vehicle_id": "3544"
},
{
"destination": "Priisle",
"heading": 125,
"lat": 59.4323,
"line": "40",
"lon": 24.84239,
"route": "120",
"type": "2",
"vehicle_id": "3579"
},
{
"destination": "Balti jaam",
"heading": 69,
"lat": 59.44177,
"line": "94",
"lon": 24.74254,
"route": "8",
"type": "7",
"vehicle_id": "3619"
},
{
"destination": "Seli",
"heading": 221,
"lat": 59.43227,
"line": "67",
"lon": 24.84146,
"route": "86",
"type": "2",
"vehicle_id": "3920"
},
{
"destination": "Mustamäe",
"heading": 321,
"lat": 59.41043,
"line": "83",
"lon": 24.65834,
"route": "32",
"type": "1",
"vehicle_id": "6464"
}
]
},
"success": true
}