Skip to main content
Menu

← Barcha yakuniy nuqtalar

API «O'tish uchun eng yaxshi vaqt» Online

Nazorat punkti bo'yicha odatdagi hafta statistikasi: 7×24 matritsa hafta-kuni×soat (mediana + p25/p75 tasma), eng sokin/band kun, eng yaxshi/yomon 2 soatlik oynalar.

GET https://nakordoni.eu/api/v1/data/day-stats — kvota sinfi: cheap

ParametrTavsif
ppidNazorat punkti ID'si
langTil 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.

MaydonTavsif
data.matrix7×24 median queue: matrix[dayOfWeek][hour], day 0 = Monday, hours in the checkpoint's timezone (data.tz).
data.loSame 7×24 shape — the p25 floor of the band; hi is the p75 ceiling.
data.countsObservations behind each cell — a cell with few counts is a weak median.
data.weekday_avgSeven averages, one per weekday; best_day and worst_day index into them.
data.best_slots[]Quietest 2-hour windows: dow, hour, v (the value). worst_slots is the same for the busiest.
data.overall_avgAverage across the whole matrix, with overall_max.
data.samplesReadings the matrix was built from, over period_days; data_quality grades that sample.
data.generated_atWhen the matrix was last recomputed (unix). It is precomputed daily, not per request.
curl "https://nakordoni.eu/api/v1/data/day-stats?ppid=id_13&lang=en" \
  -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