Skip to main content
Menu

← Բոլոր endpoint-ները

API «Կեսին անցնելու լավագույն ժամ» Online

Տիպիական շաբաթվա վիճակագրություն ստուգիչ կետի համար. 7×24 մատրիցա շաբաթ-օր×ժամ (միջին + p25/p75 շերտ), ամենախաղաղ/ծանրաբեռնված օրը, լավագույն/վատ 2-ժամյա պատուհաններ:

GET https://nakordoni.eu/api/v1/data/day-stats — քվոտայի դաս: cheap

ՊարամետրՆկարագրություն
ppidՍտուգիչ կետի ID
langԼեզվի կոդ

Պատասխանի դաշտերը — պատասխանի ծրարի data օբյեկտի ներսում։ []-ը ցույց է տալիս ցուցակ, ուստի data.items[].name-ը յուրաքանչյուր տարրի name դաշտն է։ Դաշտը լինում է null, բացակայում է կամ դատարկ ցուցակ է, երբ արժեք չունենք․ լցոնող արժեք երբեք չենք դնում։

ԴաշտՆկարագրություն
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"
🔑 Մուտք գործեք որպես ծրագրավորող՝ այս endpoint-ը ուղիղ Sandbox-ում փորձելու համար — օրական 50 անվճար թեստային կանչ։ Մուտք