Подача новин і флот NakBus тепер у партнерській панелі
Підключіть свій обліковий запис розробника до акаунту Nakordoni Partners з тією самою електронною поштою і керуйте новинами та своїм автобусним флотом (NakDriver / NakManager) там, із ролями команди. Ваші API-ключі, ендпоінти й застосунки залишаються без змін, а сторінки тут продовжують працювати. Відкрити Nakordoni Partners
Cool Spots for Dogs Along a Walk API Offline
Cool spots for dogs along a walking route: every spot within the corridor with its position along the walk and the shade at the time you reach it, plus the best cool stop around the middle of the walk. Pass the route as an encoded polyline (precision 6). Shade coverage: Poznan (PL).
GET https://nakordoni.eu/api/v2/data/dog-cool-spots-route
— клас квоти: cheap
| Параметр | Опис |
|---|---|
polyline6 | Walk geometry, encoded polyline precision 6 (required) |
depart | Departure, local ISO time (default now) |
speed_kmh | Walking speed 2-8 km/h (default 4.5) |
corridor_m | Corridor half-width in metres, 20-300 (default 150) |
types | Comma list of spot types (default all) |
Поля відповіді — усередині об’єкта data у конверті відповіді. [] позначає список, тож data.items[].name — це поле name кожного елемента. Поле буває null, відсутнє або порожній список, коли значення в нас немає, — заглушок ми не підставляємо.
| Поле | Опис |
|---|---|
route_m | Walk length in metres. |
best_stop | Best spot in the middle 40 % of the walk (up to 300 m off the line): distance_from_route_m, at_m, eta_local, shade_now, has_water. |
corridor_spots[] | Up to 30 spots within corridor_m: distance_from_route_m, at_m, eta_local, type, name, shade_now, has_water, surface. |
curl "https://nakordoni.eu/api/v2/data/dog-cool-spots-route?polyline6=...&depart=2026-07-15T13:00" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Увійдіть як розробник, щоб протестувати цей ендпоінт наживо в пісочниці — 50 безкоштовних тестових викликів на день. Увійти
Оновлено