Avtobus tashuvchisining chegara statistikasi API Online
Avtobus tashuvchisi bo'yicha chegaradan o'tish ko'rsatkichlari: o'tishlar, o'rtacha/median/min/maks kutish daqiqalari — o'zimizning raqam bo'yicha moslashtirilgan o'tish yozuvlaridan tuzilgan.
GET https://nakordoni.eu/api/v1/data/bus-carriers
— kvota sinfi: cheap
| Parametr | Tavsif |
|---|---|
ppid | Kontrol punktining IDsi, masalan id_13 — yoki "all" agregat ro'yxati uchun |
days | Davr 1-90 (standart 30) |
min_crossings | Tashuvchini kiritish uchun minimal o'tishlar (standart 3) |
limit | Qaytariladigan tashuvchilarning maksimumi (standart 20) |
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.companies[].name | Carrier, as matched from plates seen at the border. |
data.companies[].crossings | How many crossings of theirs we matched in the period. |
data.companies[].avg_wait_min | Their average border wait, with median_wait_min, min_wait_min and max_wait_min. |
data.companies[].max_wait_days_ago | How long ago the worst wait happened — an old outlier is not today's carrier. |
data.total_crossings | Crossings observed in period_days, with matched_crossings — the subset a carrier could be identified for. |
data.data_available | false = too little matched data for the checkpoint/period to report anything. |
data.ppid | Checkpoint the stats are for ('all' when aggregated), with mode and generated_at. |
curl "https://nakordoni.eu/api/v1/data/bus-carriers?ppid=all&days=30" \ -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