A hírbeküldés és a NakBus flotta most már a partneri irányítópulton található
Kösse össze fejlesztői fiókját egy azonos e-mail címmel rendelkező Nakordoni Partners fiókkal, és ott kezelje a híreket és buszflottáját (NakDriver / NakManager) csapatszerepekkel. Az API-kulcsai, végpontjai és alkalmazásai változatlanok maradnak, az itteni oldalak pedig továbbra is működnek. Nakordoni Partners megnyitása
Élő sorban állás és frissesség API Online
Mikor frissült utoljára egy határátkelő, melyik forrásból, és egy frissességi értékelés.
GET https://nakordoni.eu/api/v1/data/update-info
— kvótaosztály: cheap
| Paraméter | Leírás |
|---|---|
ppid | Ellenőrzőpont azonosító, pl. id_13 (lásd /api/v1/data/checkpoints) |
lang | Nyelvi kód |
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.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 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_quality | high = 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.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"
🔑 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
Frissítve