Η υποβολή ειδήσεων και ο στόλος NakBus βρίσκονται πλέον στον πίνακα συνεργατών
Συνδέστε τον λογαριασμό προγραμματιστή σας με έναν λογαριασμό Nakordoni Partners με το ίδιο email και διαχειριστείτε εκεί τις ειδήσεις και τον στόλο λεωφορείων σας (NakDriver / NakManager), με ρόλους ομάδας. Τα κλειδιά API, τα endpoints και οι εφαρμογές σας παραμένουν αμετάβλητα, και οι σελίδες εδώ συνεχίζουν να λειτουργούν. Άνοιγμα Nakordoni Partners

← Όλα τα endpoints

Προηγμένο API χρόνου αναμονής Online

Wait time adjusted for live traffic flow and weather, with a full breakdown of each adjustment, plus the same wait_status/trend fields as border and multi. Billed at 1.5x a normal heavy-class call, reflecting the extra traffic/weather/driver-report lookups. Granted on request.

GET https://nakordoni.eu/api/v1/data/queue-advanced — κλάση ποσόστωσης: heavy

ΠαράμετροςΠεριγραφή
ppidΑναγνωριστικό συνοριακού σταθμού, π.χ. id_13 (βλ. /api/v1/data/checkpoints)

Πεδία της απάντησης — μέσα στο αντικείμενο data του φακέλου απάντησης. Το [] δηλώνει λίστα, άρα το data.items[].name είναι το πεδίο name κάθε στοιχείου. Ένα πεδίο είναι null, απουσιάζει ή είναι κενή λίστα όταν δεν έχουμε τιμή — ποτέ κάτι εικονικό.

ΠεδίοΠεριγραφή
data.queue_nowVehicles in the queue right now, with base_wait_min — the wait before any adjustment.
data.advanced_wait_minWait after every adjustment below is applied. dynamic_wait_min blends it with fresh driver reports.
data.wait_statusBand for the wait, with trend_percent and trend_direction.
data.section_modeMeasured section transit time feeding the model: value, modifier, age_min, stale.
data.weatherWeather adjustment: multiplier, reason, data_age_minutes, plus the road condition on our own 0-5 hazard scale — condition_code (0 good, 1 fog, 2 snow, 3 rain, 4 ice, 5 wind), condition (the machine key) and severity (none|low|moderate|major). Raw provider readings (temperature, wind speed, the provider's own condition name) are not served: the licence covers our derived value, not the observation behind it. condition_code is null when we hold no weather for the checkpoint — 0 would claim a clear road we have not observed.
data.service_rateBooth throughput: cars_per_min, modifier, age_min, stale.
data.shift_changeBorder-shift effect: adjustment_min, shift_hour, avg_coefficient, sample_count, in_window.
data.dynamicHow driver reports were blended in: source, reports_n, reports_age_min, reported_median_min, blend_weight.
data.driver_reportedThe freshest driver-reported wait itself (wait_min, ts, age_min), or null when there is none.
data.exceeds_crossing_timetrue = the modelled wait came out longer than the measured total crossing time it is a part of — treat the number as unreliable.
curl "https://nakordoni.eu/api/v1/data/queue-advanced?ppid=id_13" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Συνδεθείτε ως προγραμματιστής για να δοκιμάσετε ζωντανά αυτό το endpoint στο Sandbox — 50 δωρεάν δοκιμαστικές κλήσεις την ημέρα. Σύνδεση

Ενημερώθηκε