Skip to main content
Menu

← Barcha yakuniy nuqtalar

Nazorat punktining soatlik statistikasi API Online

Nazorat punkti va sana bo'yicha soatlik tarixiy navbat statistikasi: 24 soatlik qiymat, kunlik o'rtacha/min/maks, eng yuqori va eng tinch soatlar, kundan-kunga taqqoslash.

GET https://nakordoni.eu/api/v1/data/stats — kvota sinfi: heavy

ParametrTavsif
ppidKontrol nuqtasi identifikatori, masalan id_13 (qarang /api/v1/data/checkpoints)
dateYYYY-MM-DD (standart: kecha)
compare1 = oldingi kunni qo'shish + delta
langTil kodi (standart uk)

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.

MaydonTavsif
data.ppidCheckpoint the statistics belong to, with checkpoint.name and checkpoint.source_url.
data.dateThe day covered, in the checkpoint's timezone (data.timezone); unit says what the numbers count.
data.hourly[]24 elements: hour, value, data_points (observations behind that hour). value is null for an hour with no data.
data.labelsHour labels for the 24 buckets; values is the bare value series, aligned with them.
data.dailyWhole-day rollup: avg, min, max, total, hours_with_data.
data.peakBusiest hour of the day, and quietest the calmest — both null when the day has too little data.
data.data_availablefalse = we hold nothing for that date; every number above is then empty rather than zero.
data.comparePresent only with compare=1: the same shape for the previous day plus delta_avg.
curl "https://nakordoni.eu/api/v1/data/stats?ppid=id_15&date=2026-06-01&compare=1" \
  -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