Xəbər göndərmə və NakBus donanması artıq tərəfdaş panelindədir
Developer hesabınızı eyni e-poçtla Nakordoni Partners hesabına qoşun və orada xəbərləri və avtobus donanmanızı (NakDriver / NakManager) komanda rolları ilə idarə edin. API açarlarınız, endpoint-lər və tətbiqlər dəyişməz qalır, buradakı səhifələr isə işləməkdə davam edir. Nakordoni Partners-i aç

← Bütün son nöqtələr

API «Keçmək üçün ən yaxşı vaxt» Online

Nəzarət nöqtəsi üzrə tipik həftə statistikası: 7×24 matris həftə-günü×saat (mediana + p25/p75 zolağı), ən sakit/sıx gün, ən yaxşı/pis 2 saatlıq pəncərələr.

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

ParametrTəsvir
ppidNəzarət nöqtəsinin ID-si
langDil kodu

Cavab sahələri — cavab zərfindəki data obyektinin içində. [] siyahını bildirir, yəni data.items[].name hər elementin name sahəsidir. Dəyəri olmayan sahə null olur, ümumiyyətlə görünmür və ya boş siyahı qaytarır — heç vaxt doldurucu qoymuruq.

SahəTəsvir
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.data_quality'high' = the matrix is this checkpoint's OWN observations. 'low' = there was not enough direct history, so the mirror direction's matrix is returned as an estimate — see estimated_from.
data.estimated_fromPresent only when data_quality is low: the ppid the matrix actually came from (the same crossing in the opposite direction, same vehicle type). The numbers are NOT observations of the checkpoint you asked for — do not feed them to a model as if they were. data_quality_note carries the same warning as prose.
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 son nöqtəni sınaq mühitində canlı yoxlamaq üçün developer kimi daxil olun — gündə 50 pulsuz test sorğusu. Giriş

Yeniləndi