चेकपॉइंट विकल्प API Online
उसी सीमा पर निकटवर्ती वैकल्पिक चेकपॉइंट वर्तमान कतारों और दूरी अंतरों के साथ।
GET https://nakordoni.eu/api/v1/data/alternatives
— कोटा श्रेणी: cheap
| पैरामीटर | विवरण |
|---|---|
ppid | चेकपॉइंट आईडी |
lang | भाषा कोड |
crossing_type | वाहन प्रकार फ़िल्टर बदलें — जैसे 4=कार, 6=बस, 7=पैदल यात्री, 9=ट्रक |
limit | अधिकतम परिणाम (डिफ़ॉल्ट 5) |
रिस्पॉन्स फ़ील्ड — रिस्पॉन्स एनवेलप के data ऑब्जेक्ट के भीतर। [] सूची दर्शाता है, यानी data.items[].name हर एलिमेंट का name फ़ील्ड है। जिस फ़ील्ड का मान हमारे पास नहीं है वह null होता है, आता ही नहीं या खाली सूची होती है — प्लेसहोल्डर कभी नहीं।
| फ़ील्ड | विवरण |
|---|---|
data.ppid | The checkpoint you asked about, with checkpoint.name, checkpoint.queue, checkpoint.unit and checkpoint.source_url. |
data.crossing_type_filter | Vehicle type the alternatives were filtered to. |
data.alternatives[].ppid | A nearby crossing on the same border, with name and source_url. |
data.alternatives[].distance_km | Road distance from the checkpoint you asked about. |
data.alternatives[].queue | Its queue now, in unit, and diff — the difference against your checkpoint (negative = shorter). |
data.alternatives[].is_better | true when this crossing is currently the better bet. |
data.best | The single best alternative, same fields — null when none beats your checkpoint. |
data.generated_at | When the comparison was made. |
curl "https://nakordoni.eu/api/v1/data/alternatives?ppid=id_13&crossing_type=4" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन