लाइव सीमा कतार 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"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन