← Eistland

Lifandi ökutæki Tallinn

GET /tallinn/transport/vehicles

Rauntíma GPS-staðsetningar allra almenningssamgöngufarartækja í Tallinn — strætisvagna, sporvagna, þráðvagna og lesta. Skilar tegund farartækis, línunúmeri, hnitum, stefnu, farartækjaauðkenni og næstu stöðvun. Gögn frá transport.tallinn.ee. Síaðu eftir tegund: bus, tram, trolleybus.

Sjáðu það myndrænt

Breytur

tegund valfrjálst

Filter by vehicle type: bus, tram, trolleybus, train

Dæmi um fyrirspurnir

Grunnnotkun
curl https://nordapi.ee/api/v1/tallinn/transport/vehicles

Lifandi svar

{
  "data": {
    "count": 7,
    "vehicles": [
      {
        "at_stop": true,
        "direction": 45,
        "latitude": 59.41145,
        "line": "1",
        "longitude": 24.66257,
        "nearest_stop": "Hobujaama",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1012"
      },
      {
        "at_stop": true,
        "direction": 7,
        "latitude": 59.41096,
        "line": "8",
        "longitude": 24.65926,
        "nearest_stop": "Väike-Õismäe",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1162"
      },
      {
        "at_stop": true,
        "direction": 270,
        "latitude": 59.41118,
        "line": "19",
        "longitude": 24.65951,
        "nearest_stop": "Laagri alevik",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "1170"
      },
      {
        "at_stop": true,
        "direction": 172,
        "latitude": 59.40851,
        "line": "2",
        "longitude": 24.66061,
        "nearest_stop": "Balti jaam",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2212"
      },
      {
        "at_stop": true,
        "direction": 297,
        "latitude": 59.44785,
        "line": "25",
        "longitude": 24.89532,
        "nearest_stop": "Reisisadama D-terminal",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2471"
      },
      {
        "at_stop": true,
        "direction": 206,
        "latitude": 59.40941,
        "line": "20",
        "longitude": 24.65798,
        "nearest_stop": "Viru keskus",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2767"
      },
      {
        "at_stop": true,
        "direction": 301,
        "latitude": 59.40973,
        "line": "33",
        "longitude": 24.6567,
        "nearest_stop": "Kopli",
        "type": "bus",
        "type_code": "2",
        "vehicle_id": "2895"
      }
    ]
  },
  "success": true
}