Odosielanie správ a flotila NakBus sú teraz na partnerskom paneli
Prepojte svoj vývojársky účet s účtom Nakordoni Partners s rovnakým e-mailom a spravujte tam správy a svoju autobusovú flotilu (NakDriver / NakManager) s tímovými rolami. Vaše API kľúče, koncové body a aplikácie zostávajú nezmenené a stránky tu naďalej fungujú. Otvoriť Nakordoni Partners

← Všetky endpointy

API živého frontu a aktuálnosti Online

Kedy bol priechod naposledy aktualizovaný, ktorým zdrojom a hodnotenie aktuálnosti.

GET https://nakordoni.eu/api/v1/data/update-info — trieda kvóty: cheap

ParameterPopis
ppidIdentifikátor kontrolného bodu, napr. id_13 (pozri /api/v1/data/checkpoints)
langKód jazyka

Polia odpovede — vnútri objektu data v obálke odpovede. [] označuje zoznam, takže data.items[].name je pole name každého prvku. Pole býva null, chýba alebo je prázdny zoznam, keď preň nemáme hodnotu — zástupný údaj nedopĺňame.

PolePopis
data.queue_nowVehicles in the queue at the latest reading.
data.timestampWhen that reading was taken (unix), with datetime and timezone — the checkpoint's own zone.
data.age_secondsHow old the reading is now, also as age_minutes and age_hours.
data.freshnessPlain-language band for that age. is_realtime says the row is an observation rather than a forecast point — it does NOT say the observation was counted; read data_quality for that.
data.data_qualityhigh = the reading was counted from a real observation source at the crossing; low = a modelled estimate, because that checkpoint has no counting source. Same high|low vocabulary as the checkpoints directory, Border Queue and Best Time to Cross. Both are real answers; low is not an error, but do not present a low value to drivers as a measurement.
data.foundfalse = we monitor the checkpoint but hold no reading; status carries the reason.
data.originWhich upstream the reading came from.
curl "https://nakordoni.eu/api/v1/data/update-info?ppid=id_13" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Prihláste sa ako vývojár a vyskúšajte tento endpoint naživo v sandboxe — 50 bezplatných testovacích volaní denne. Prihlásiť sa

Aktualizované