Trimiterea știrilor și flota NakBus se află acum în panoul de partener
Conectați-vă contul de dezvoltator la un cont Nakordoni Partners cu același e-mail și gestionați acolo știrile și flota dvs. de autobuze (NakDriver / NakManager), cu roluri de echipă. Cheile API, punctele finale și aplicațiile dvs. rămân neschimbate, iar paginile de aici continuă să funcționeze. Deschide Nakordoni Partners
API coadă live și prospețime Online
Când a fost actualizat ultima dată un punct de trecere, de către ce sursă și o evaluare a prospețimii.
GET https://nakordoni.eu/api/v1/data/update-info
— clasă de cotă: cheap
| Parametru | Descriere |
|---|---|
ppid | ID punct de control, de ex. id_13 (vezi /api/v1/data/checkpoints) |
lang | Cod de limbă |
Câmpurile răspunsului — în interiorul obiectului data din plicul răspunsului. [] marchează o listă, deci data.items[].name este câmpul name al fiecărui element. Un câmp este null, lipsește sau este o listă goală atunci când nu avem o valoare — niciodată un substitut.
| Câmp | Descriere |
|---|---|
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"
🔑 Autentifică-te ca dezvoltator pentru a testa acest endpoint live în sandbox — 50 de apeluri de test gratuite pe zi. Autentificare
Actualizat