समाचार सबमिशन और NakBus फ्लीट अब पार्टनर डैशबोर्ड में हैं
अपने डेवलपर खाते को उसी ईमेल वाले Nakordoni Partners खाते से कनेक्ट करें और वहाँ समाचार और अपने बस बेड़े (NakDriver / NakManager) को टीम भूमिकाओं के साथ प्रबंधित करें। आपकी API कुंजियाँ, एंडपॉइंट और ऐप्स अपरिवर्तित रहते हैं, और यहाँ के पेज काम करना जारी रखते हैं। Nakordoni Partners खोलें

← सभी एंडपॉइंट

चेकपॉइंट विकल्प 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.ppidThe checkpoint you asked about, with checkpoint.name, checkpoint.queue, checkpoint.unit and checkpoint.source_url.
data.crossing_type_filterVehicle type the alternatives were filtered to.
data.alternatives[].ppidA nearby crossing on the same border, with name and source_url.
data.alternatives[].distance_kmRoad distance from the checkpoint you asked about.
data.alternatives[].queueIts queue now, in unit, and diff — the difference against your checkpoint (negative = shorter).
data.alternatives[].is_bettertrue when this crossing is currently the better bet.
data.bestThe single best alternative, same fields — null when none beats your checkpoint.
data.generated_atWhen 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 निःशुल्क टेस्ट कॉल। लॉग इन

अपडेट किया गया