API Ζωντανής Συνοριακής Ουράς Online
Ουρές σε πραγματικό χρόνο, εκτίμηση χρόνου αναμονής και κατάσταση για κάθε σημείο διέλευσης. Περιλαμβάνει μπλοκ snapshot: τρέχουσα ουρά (queue_now), προβλεπόμενη αναμονή wait_min = tmin + ουρά × tpercar, ηλικία δεδομένων και πηγή.
GET https://nakordoni.eu/api/v1/data/queue
— κλάση ποσόστωσης: heavy
| Παράμετρος | Περιγραφή |
|---|---|
ppid | Αναγνωριστικό σημείου διέλευσης, π.χ. id_13 (δείτε /api/v1/data/checkpoints) |
section | Ενότητα δεδομένων (προαιρετικό) |
origin | Κωδικός χώρας προέλευσης (προαιρετικό) |
destination | Κωδικός χώρας προορισμού (προαιρετικό) |
Πεδία της απάντησης — μέσα στο αντικείμενο data του φακέλου απάντησης. Το [] δηλώνει λίστα, άρα το data.items[].name είναι το πεδίο name κάθε στοιχείου. Ένα πεδίο είναι null, απουσιάζει ή είναι κενή λίστα όταν δεν έχουμε τιμή — ποτέ κάτι εικονικό.
| Πεδίο | Περιγραφή |
|---|---|
data[] | Hourly series for the checkpoint, oldest first — one element per reading. |
data[].time | Unix timestamp of the reading, in the checkpoint's own timezone. |
data[].avg_cars | Vehicles in the queue at that hour. |
data[].wait_time | Wait in minutes at that hour. |
data[].wait_time_estimated | true = the wait is our estimate from the queue length, not an official figure. |
data[].type_of_data | Provenance marker of the reading (official feed, camera count, driver report…). |
snapshot | Envelope-level, beside data: the current state — queue_now, wait_min, updated_at, age_min. Read this for 'now'; data is the history behind it. |
curl "https://nakordoni.eu/api/v1/data/queue?ppid=id_13" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Συνδεθείτε ως προγραμματιστής για να δοκιμάσετε ζωντανά αυτό το endpoint στο Sandbox — 50 δωρεάν δοκιμαστικές κλήσεις την ημέρα. Σύνδεση