API „Legjobb átkelési idő" Online
Tipikus heti terhelési statisztikák ellenőrzőpontonként: 7×24-es mátrix hétköznap×óra (medián + p25/p75 sáv), legcsendesebb/legforgalmasabb nap, legjobb/legrosszabb 2 órás ablakok.
GET https://nakordoni.eu/api/v1/data/day-stats
— kvótaosztály: cheap
| Paraméter | Leírás |
|---|---|
ppid | Ellenőrzőpont azonosítója |
lang | Nyelvkód |
Válaszmezők — a válaszboríték data objektumán belül. A [] listát jelöl, tehát a data.items[].name az egyes elemek name mezője. Egy mező null, hiányzik vagy üres lista, ha nincs rá értékünk — helykitöltőt soha nem teszünk oda.
| Mező | Leírás |
|---|---|
data.matrix | 7×24 median queue: matrix[dayOfWeek][hour], day 0 = Monday, hours in the checkpoint's timezone (data.tz). |
data.lo | Same 7×24 shape — the p25 floor of the band; hi is the p75 ceiling. |
data.counts | Observations behind each cell — a cell with few counts is a weak median. |
data.weekday_avg | Seven 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_avg | Average across the whole matrix, with overall_max. |
data.samples | Readings the matrix was built from, over period_days; data_quality grades that sample. |
data.generated_at | When 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"
🔑 Jelentkezz be fejlesztőként, hogy élőben kipróbáld ezt a végpontot a sandboxban — napi 50 ingyenes tesztkérés. Bejelentkezés