Yangilik yuborish va NakBus avtoparki endi hamkor panelida
Dasturchi hisobingizni bir xil elektron pochta bilan Nakordoni Partners hisobiga ulang va u yerda yangiliklar va avtobus parkingizni (NakDriver / NakManager) jamoa rollari bilan boshqaring. API kalitlaringiz, endpointlar va ilovalaringiz o'zgarishsiz qoladi, va bu yerdagi sahifalar ishlashda davom etadi. Nakordoni Partners-ni ochish
Jonli navbat va yangilik API Online
Nazorat punkti oxirgi marta qachon, qaysi manbadan yangilangani va yangilik reytingi.
GET https://nakordoni.eu/api/v1/data/update-info
— kvota sinfi: cheap
| Parametr | Tavsif |
|---|---|
ppid | Nazorat nuqtasi ID, masalan id_13 (qarang /api/v1/data/checkpoints) |
lang | Til kodi |
Javob maydonlari — javob konvertidagi data obyekti ichida. [] ro‘yxatni bildiradi, ya’ni data.items[].name har bir elementning name maydonidir. Qiymatimiz bo‘lmagan maydon null bo‘ladi, umuman bo‘lmaydi yoki bo‘sh ro‘yxat qaytadi — o‘rniga hech qachon soxta qiymat qo‘ymaymiz.
| Maydon | Tavsif |
|---|---|
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"
🔑 Bu yakuniy nuqtani sinov maydonida jonli sinab koʻrish uchun dasturchi sifatida kiring — kuniga 50 ta bepul test chaqiruvi. Kirish
Yangilandi