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

← Όλα τα endpoints

Shade Walking Route API Offline

Pedestrian routes ranked by how much of the way lies in building and tree shade at the time of the walk (heat) or in sun (cold). Each route comes with distance, duration, shade share, an asphalt surface temperature estimate and per-segment shade as GeoJSON, plus the best departure window in the next 6 hours. Pilot coverage: Poznan (PL); elsewhere plain routes with shade_routing=unavailable.

GET https://nakordoni.eu/api/v2/data/shade-route — κλάση ποσόστωσης: heavy

ΠαράμετροςΠεριγραφή
fromStart as lat,lon (required)
toDestination as lat,lon — omit and pass loop_km for a round walk
loop_kmRound-walk length in km (1-15) when to is omitted
departLocal ISO time of the walk, e.g. 2026-07-15T12:00 (default now)
modeauto | heat | cold (default auto)
alternativesExtra routes beyond the best and the direct one, 0-4 (default 2)
segments0 to omit per-segment GeoJSON (summary only)

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

ΠεδίοΠεριγραφή
context.shade_routingactive | suspended (cloud >= 70 %, ranked by length only) | night (sun below 3 deg) | unavailable (outside the covered cities or no data for that date).
context.mode_resolvedheat (prefer shade) | cold (prefer sun) | neutral, resolved from mode=auto by temperature and UV.
context.sunSun azimuth and elevation in degrees at the requested time.
context.weathertemp_c, uv_index, cloud_pct for the hour of the walk.
routes[].idcool (most shade for its length) / sunny (cold mode) / direct / alt1..
routes[].summarykm, min, shade_pct, sun_exposure_pct, peak_pavement_c (estimate), shade_confidence 0..1.
routes[].readinessgo | caution | wait.
routes[].segmentsGeoJSON FeatureCollection of ~50 m LineStrings with shade, sun_exposure, pavement_c. Not on the Explorer plan (summary only).
best_windowBest 15-min departure in the next 6 h for the first route: time_local, shade_pct, peak_pavement_c, readiness.
curl "https://nakordoni.eu/api/v2/data/shade-route?from=52.4013,16.9115&to=52.4084,16.9336&depart=2026-07-15T12:00" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Συνδεθείτε ως προγραμματιστής για να δοκιμάσετε ζωντανά αυτό το endpoint στο Sandbox — 50 δωρεάν δοκιμαστικές κλήσεις την ημέρα. Σύνδεση

Ενημερώθηκε