API של תחזית התורים Online
תחזית רמות תור מבוססת אנסמבל ML: אופקים של 24 שעות ושל 7 ימים (168 שעות) עם רווחי סמך. אותו מודל שמניע את התחזיות ב־nakordoni.eu.
GET https://nakordoni.eu/api/v1/data/forecast
— מחלקת מכסה: heavy
| פרמטר | תיאור |
|---|---|
ppid | מזהה נקודת ביקורת, למשל 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"
🔑 התחברו כמפתחים כדי לנסות את נקודת הקצה הזו בשידור חי ב־Sandbox — 50 קריאות בדיקה חינם ביום. התחברות