Նորությունների ուղարկումը և NakBus նավատորմը այժմ գործընկերոջ վահանակում են
Կապեք ձեր ծրագրավորողի հաշիվը նույն էլփոստով Nakordoni Partners հաշվի հետ և այնտեղ կառավարեք նորությունները և ձեր ավտոբուսային նավատորմը (NakDriver / NakManager)՝ թիմային դերերով։ Ձեր API բանալիները, endpoint-ները և հավելվածները մնում են անփոփոխ, իսկ այստեղի էջերը շարունակում են աշխատել։ Բացել Nakordoni Partners-ը

← Բոլոր endpoint-ները

Ուղիղ հերթի և թարմության API Online

Երբ է անցակետը վերջին անգամ թարմացվել, որ աղբյուրից և թարմության գնահատական։

GET https://nakordoni.eu/api/v1/data/update-info — քվոտայի դաս: cheap

ՊարամետրՆկարագրություն
ppidՍտուգման կետի ID, օրինակ id_13 (տես /api/v1/data/checkpoints)
langԼեզվի կոդ

Պատասխանի դաշտերը — պատասխանի ծրարի data օբյեկտի ներսում։ []-ը ցույց է տալիս ցուցակ, ուստի data.items[].name-ը յուրաքանչյուր տարրի name դաշտն է։ Դաշտը լինում է null, բացակայում է կամ դատարկ ցուցակ է, երբ արժեք չունենք․ լցոնող արժեք երբեք չենք դնում։

ԴաշտՆկարագրություն
data.queue_nowVehicles in the queue at the latest reading.
data.timestampWhen that reading was taken (unix), with datetime and timezone — the checkpoint's own zone.
data.age_secondsHow old the reading is now, also as age_minutes and age_hours.
data.freshnessPlain-language band for that age. is_realtime says the row is an observation rather than a forecast point — it does NOT say the observation was counted; read data_quality for that.
data.data_qualityhigh = the reading was counted from a real observation source at the crossing; low = a modelled estimate, because that checkpoint has no counting source. Same high|low vocabulary as the checkpoints directory, Border Queue and Best Time to Cross. Both are real answers; low is not an error, but do not present a low value to drivers as a measurement.
data.foundfalse = we monitor the checkpoint but hold no reading; status carries the reason.
data.originWhich 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"
🔑 Մուտք գործեք որպես ծրագրավորող՝ այս endpoint-ը ուղիղ Sandbox-ում փորձելու համար — օրական 50 անվճար թեստային կանչ։ Մուտք

Թարմացվել է