API živé fronty a aktuálnosti Online
Kdy byl přechod naposledy aktualizován, kterým zdrojem a hodnocení aktuálnosti.
GET https://nakordoni.eu/api/v1/data/update-info
— třída kvóty: cheap
| Parametr | Popis |
|---|---|
ppid | Identifikátor kontrolního bodu, např. id_13 (viz /api/v1/data/checkpoints) |
lang | Kód jazyka |
Pole odpovědi — uvnitř objektu data v obálce odpovědi. [] označuje seznam, takže data.items[].name je pole name každého prvku. Pole bývá null, chybí nebo je prázdný seznam, když pro něj nemáme hodnotu — zástupný údaj nedoplňujeme.
| Pole | Popis |
|---|---|
data.queue_now | Vehicles in the queue at the latest reading. |
data.timestamp | When that reading was taken (unix), with datetime and timezone — the checkpoint's own zone. |
data.age_seconds | How old the reading is now, also as age_minutes and age_hours. |
data.freshness | Plain-language band for that age; is_realtime is true only for a live feed. |
data.found | false = we monitor the checkpoint but hold no reading; status carries the reason. |
data.origin | Which 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"
🔑 Přihlaste se jako vývojář a vyzkoušejte tento endpoint naživo v sandboxu — 50 bezplatných testovacích volání denně. Přihlásit se