Élő határsor API Online
Valós idejű várakozási sorok, becsült várakozási idő és állapot bármely átkelőhöz. Tartalmaz snapshot blokkot: jelenlegi sor (queue_now), becsült várakozási idő wait_min = tmin + sor × tpercar, adatok kora és forrása.
GET https://nakordoni.eu/api/v1/data/queue
— kvótaosztály: heavy
| Paraméter | Leírás |
|---|---|
ppid | Határátkelő azonosítója, pl. id_13 (lásd /api/v1/data/checkpoints) |
section | Adatszakasz (opcionális) |
origin | Kiindulási ország kódja (opcionális) |
destination | Célország kódja (opcionális) |
Válaszmezők — a válaszboríték data objektumán belül. A [] listát jelöl, tehát a data.items[].name az egyes elemek name mezője. Egy mező null, hiányzik vagy üres lista, ha nincs rá értékünk — helykitöltőt soha nem teszünk oda.
| Mező | Leírás |
|---|---|
data[] | Hourly series for the checkpoint, oldest first — one element per reading. |
data[].time | Unix timestamp of the reading, in the checkpoint's own timezone. |
data[].avg_cars | Vehicles in the queue at that hour. |
data[].wait_time | Wait in minutes at that hour. |
data[].wait_time_estimated | true = the wait is our estimate from the queue length, not an official figure. |
data[].type_of_data | Provenance marker of the reading (official feed, camera count, driver report…). |
snapshot | Envelope-level, beside data: the current state — queue_now, wait_min, updated_at, age_min. Read this for 'now'; data is the history behind it. |
curl "https://nakordoni.eu/api/v1/data/queue?ppid=id_13" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Jelentkezz be fejlesztőként, hogy élőben kipróbáld ezt a végpontot a sandboxban — napi 50 ingyenes tesztkérés. Bejelentkezés