Skip to main content
Menu

← כל נקודות הקצה

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[].timeUnix timestamp of the reading, in the checkpoint's own timezone.
data[].avg_carsVehicles in the queue at that hour.
data[].wait_timeWait in minutes at that hour.
data[].wait_time_estimatedtrue = the wait is our estimate from the queue length, not an official figure.
data[].type_of_dataProvenance marker of the reading (official feed, camera count, driver report…).
snapshotEnvelope-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"
🔑 התחברו כמפתחים כדי לנסות את נקודת הקצה הזו בשידור חי ב־Sandbox — 50 קריאות בדיקה חינם ביום. התחברות