Подача новостей и флот NakBus теперь в партнёрской панели
Подключите свой аккаунт разработчика к аккаунту Nakordoni Partners с тем же email и управляйте там новостями и своим автобусным флотом (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 бесплатных тестовых вызовов в день. Войти
Обновлено