Zgłaszanie newsów i flota NakBus są teraz w panelu partnera
Połącz swoje konto dewelopera z kontem Nakordoni Partners przy użyciu tego samego adresu e-mail i zarządzaj tam newsami oraz swoją flotą autobusów (NakDriver / NakManager), z rolami zespołu. Twoje klucze API, endpointy i aplikacje pozostają bez zmian, a strony tutaj nadal działają. Otwórz Nakordoni Partners

← Wszystkie endpointy

API kolejki na żywo i aktualności Online

Kiedy przejście było ostatnio aktualizowane, przez jakie źródło, oraz ocena świeżości.

GET https://nakordoni.eu/api/v1/data/update-info — klasa limitu: cheap

ParametrOpis
ppidID punktu kontrolnego, np. id_13 (zobacz /api/v1/data/checkpoints)
langKod języka

Pola odpowiedzi — wewnątrz obiektu data w kopercie odpowiedzi. [] oznacza listę, więc data.items[].name to pole name każdego elementu. Pole bywa null, nieobecne lub jest pustą listą, gdy nie mamy wartości — nigdy nie wstawiamy atrapy.

PoleOpis
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"
🔑 Zaloguj się jako deweloper, aby wypróbować ten endpoint na żywo w piaskownicy — 50 darmowych wywołań testowych dziennie. Zaloguj się

Zaktualizowano