Dërgimi i lajmeve dhe flota NakBus tani janë në panelin e partnerit
Lidhni llogarinë tuaj të zhvilluesit me një llogari Nakordoni Partners me të njëjtin email dhe menaxhoni atje lajmet dhe flotën tuaj të autobusëve (NakDriver / NakManager), me role ekipi. Çelësat tuaj API, endpoints dhe aplikacionet mbeten të pandryshuara, dhe faqet këtu vazhdojnë të funksionojnë. Hap Nakordoni Partners

← Të gjithë endpoint-et

API e Radhës Kufitare në Kohë Reale Online

Radhë në kohë reale, vlerësim i kohës së pritjes dhe statusi për çdo pikë kalimi të monitoruar. Përfshin bllok snapshot: radhë aktuale (queue_now), kohë e pritur e pritjes wait_min, mosha e të dhënave.

GET https://nakordoni.eu/api/v1/data/queue — klasa e kuotës: heavy

ParametriPërshkrimi
ppidID e pikës, p.sh. id_13 (shih /api/v1/data/checkpoints)
sectionSeksioni i të dhënave (opsionale)
originKodi i vendit të origjinës (opsionale)
destinationKodi i vendit të destinacionit (opsionale)

Fushat e përgjigjes — brenda objektit data të zarfit të përgjigjes. [] shënon një listë, pra data.items[].name është fusha name e çdo elementi. Një fushë është null, mungon ose është listë bosh kur nuk kemi vlerë — kurrë një vendmbajtëse.

FushaPërshkrimi
data[]Hourly series for the checkpoint, oldest first — one element per reading.
data[].timeUnix timestamp of the reading, in the checkpoint's own timezone.
data[].avg_carsVehicles in the queue at that hour.
data[].wait_timeWait in minutes at that hour.
data[].wait_time_estimatedtrue = the wait is our estimate from the queue length, not an official figure.
data[].type_of_data1 = a real observation; 2 = a forecast point (future hours). It says whether the row was measured or predicted — it carries no information about where the reading came from.
data[].data_qualityHow that row was arrived at: high = counted from a real observation source at the crossing, low = a modelled estimate where no counting source exists. Present on observation rows only (type_of_data 1) — a forecast point is predicted by definition. 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 it is an estimate and should be labelled as one if you show it to drivers.
snapshot.timezoneIANA zone that snapshot.updated_at is expressed in — it is the checkpoint's own local time, not one fixed zone (e.g. Europe/Istanbul for id_385, Europe/Sofia for id_390, Europe/Budapest for id_407). Use it to resolve updated_at to an absolute instant.
snapshotEnvelope-level, beside data: the current state — queue_now, wait_min, updated_at, timezone, age_min, data_quality. 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"
🔑 Hyni si zhvillues për ta provuar këtë endpoint drejtpërdrejt në Sandbox — 50 thirrje testimi falas në ditë. Hyni

Përditësuar