API Πρόβλεψης Ουράς Online
Πρόβλεψη επιπέδων ουράς μέσω συνόλου ML: ορίζοντες 24 ωρών και 7 ημερών (168ω) με όρια εμπιστοσύνης. Το ίδιο μοντέλο που τροφοδοτεί τις προβλέψεις του nakordoni.eu.
GET https://nakordoni.eu/api/v1/data/forecast
— κλάση ποσόστωσης: heavy
| Παράμετρος | Περιγραφή |
|---|---|
ppid | ID ελέγχου σημείου, π.χ. id_13 (δείτε /api/v1/data/checkpoints) |
prediction_steps | 24 (προεπιλογή) ή 168 για 7 ημέρες |
Πεδία της απάντησης — μέσα στο αντικείμενο data του φακέλου απάντησης. Το [] δηλώνει λίστα, άρα το data.items[].name είναι το πεδίο name κάθε στοιχείου. Ένα πεδίο είναι null, απουσιάζει ή είναι κενή λίστα όταν δεν έχουμε τιμή — ποτέ κάτι εικονικό.
| Πεδίο | Περιγραφή |
|---|---|
data[] | One element per forecast step, nearest first — 24 or 168 of them. |
data[].time | Unix timestamp the step forecasts, with hours_from_now. |
data[].avg_cars | Predicted queue at that hour. |
data[].lower_bound | Confidence band around avg_cars, with upper_bound; the _50 pair is the narrower 50% band. |
data[].type_of_data | Provenance marker of the input reading the step was built from. |
data[].source | Which model produced the step, with formula and the corrected flag when a calibrator adjusted it. |
data[].learned_mult | Per-checkpoint learned multiplier applied, and weather_mult the weather one. |
data[].v4 | Full breakdown from the v4 ensemble — component scores behind avg_cars. |
curl "https://nakordoni.eu/api/v1/data/forecast?ppid=id_13&prediction_steps=24" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Συνδεθείτε ως προγραμματιστής για να δοκιμάσετε ζωντανά αυτό το endpoint στο Sandbox — 50 δωρεάν δοκιμαστικές κλήσεις την ημέρα. Σύνδεση