API לתור חי ורעננות Online
מתי מעבר הגבול עודכן לאחרונה, על ידי איזה מקור, ודירוג רעננות.
GET https://nakordoni.eu/api/v1/data/update-info
— מחלקת מכסה: cheap
| פרמטר | תיאור |
|---|---|
ppid | מזהה נקודת ביקורת, למשל id_13 (ראה /api/v1/data/checkpoints) |
lang | קוד שפה |
שדות התשובה — בתוך אובייקט data שבמעטפת התשובה. [] מסמן רשימה, ולכן data.items[].name הוא שדה name של כל פריט. שדה יהיה null, ייעדר או יחזור כרשימה ריקה כשאין לנו ערך עבורו — לעולם לא ערך ממלא מקום.
| שדה | תיאור |
|---|---|
data.queue_now | Vehicles in the queue at the latest reading. |
data.timestamp | When that reading was taken (unix), with datetime and timezone — the checkpoint's own zone. |
data.age_seconds | How old the reading is now, also as age_minutes and age_hours. |
data.freshness | Plain-language band for that age; is_realtime is true only for a live feed. |
data.found | false = we monitor the checkpoint but hold no reading; status carries the reason. |
data.origin | Which upstream the reading came from. |
curl "https://nakordoni.eu/api/v1/data/update-info?ppid=id_13" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 התחברו כמפתחים כדי לנסות את נקודת הקצה הזו בשידור חי ב־Sandbox — 50 קריאות בדיקה חינם ביום. התחברות