Η υποβολή ειδήσεων και ο στόλος NakBus βρίσκονται πλέον στον πίνακα συνεργατών
Συνδέστε τον λογαριασμό προγραμματιστή σας με έναν λογαριασμό Nakordoni Partners με το ίδιο email και διαχειριστείτε εκεί τις ειδήσεις και τον στόλο λεωφορείων σας (NakDriver / NakManager), με ρόλους ομάδας. Τα κλειδιά API, τα endpoints και οι εφαρμογές σας παραμένουν αμετάβλητα, και οι σελίδες εδώ συνεχίζουν να λειτουργούν. Άνοιγμα Nakordoni Partners
API «Καλύτερη Ώρα Διέλευσης» Online
Στατιστικά τυπικής εβδομάδας ανά σημείο ελέγχου: πίνακας 7×24 ημέρα-εβδομάδας×ώρα (διάμεσος + ζώνη p25/p75), πιο ήσυχη/πολυσύχναστη ημέρα, καλύτερα/χειρότερα παράθυρα 2 ωρών.
GET https://nakordoni.eu/api/v1/data/day-stats
— κλάση ποσόστωσης: cheap
| Παράμετρος | Περιγραφή |
|---|---|
ppid | Αναγνωριστικό σημείου ελέγχου |
lang | Κωδικός γλώσσας |
Πεδία της απάντησης — μέσα στο αντικείμενο data του φακέλου απάντησης. Το [] δηλώνει λίστα, άρα το data.items[].name είναι το πεδίο name κάθε στοιχείου. Ένα πεδίο είναι null, απουσιάζει ή είναι κενή λίστα όταν δεν έχουμε τιμή — ποτέ κάτι εικονικό.
| Πεδίο | Περιγραφή |
|---|---|
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.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_from | Present 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_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"
🔑 Συνδεθείτε ως προγραμματιστής για να δοκιμάσετε ζωντανά αυτό το endpoint στο Sandbox — 50 δωρεάν δοκιμαστικές κλήσεις την ημέρα. Σύνδεση
Ενημερώθηκε