სიახლეების გამოგზავნა და NakBus-ის ავტოპარკი ახლა პარტნიორის დაფაზეა
დააკავშირეთ თქვენი დეველოპერის ანგარიში Nakordoni Partners ანგარიშთან იმავე ელფოსტით და მართეთ იქ სიახლეები და თქვენი ავტობუსების პარკი (NakDriver / NakManager) გუნდური როლებით. თქვენი API გასაღებები, endpoint-ები და აპლიკაციები უცვლელი რჩება, ხოლო აქაური გვერდები კვლავ მუშაობს. Nakordoni Partners-ის გახსნა
Cool Spots Along a Route API Offline
Truck-accessible stops within 2 km of a route you already have: truck parkings shaded by trees (canopy share within 100 m), rest areas with restaurant, motel or showers, and drinking water. Each spot comes with its position along the route, ETA, detour estimate, weather and sun at the ETA and a heat-aware score. Europe-wide.
GET https://nakordoni.eu/api/v2/data/route-cool-spots
— კვოტის კლასი: cheap
| პარამეტრი | აღწერა |
|---|---|
polyline6 | Route geometry, encoded polyline precision 6 (required). Simplify to ~100 m first so the URL stays under 8 KB (about 2.5 KB for 800 km) |
depart | Departure, ISO 8601 with offset or unix (default now) |
avg_speed_kmh | Average speed for the ETA (default 70) |
types | Comma list of parking_shade, rest_ac, drinking_water (default all) |
from_km | Only spots at or beyond this distance along the route (default 0) |
corridor_km | Max distance off the route, 0.2-2 (default 2) |
limit | Max spots, 1-200 (default 60) |
პასუხის ველები — პასუხის კონვერტის data ობიექტის შიგნით. [] აღნიშნავს სიას, ამიტომ data.items[].name არის თითოეული ელემენტის ველი name. ველი არის null, არ არსებობს ან ცარიელი სიაა, როცა მნიშვნელობა არ გვაქვს — შემავსებელს არასოდეს ვდებთ.
| ველი | აღწერა |
|---|---|
summary | route_km, from_km, corridor_km, types, spots_total, returned, by_type, depart, arrive, data_built; best (not on Explorer). |
spots[] | type, types, kind, name, country, lat, lon, at_km, eta, off_route_m, detour_km, canopy_pct, amenities, water_m, capacity; weather (temp_c, cloud_pct, rain, sun_elevation at ETA), score 0-100 and reasons — not on the Explorer plan. |
curl "https://nakordoni.eu/api/v2/data/route-cool-spots?polyline6=<encoded>&depart=2026-07-15T13:00:00%2B02:00&types=parking_shade,rest_ac" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 შედით დეველოპერის ანგარიშით, რომ ეს ენდპოინტი პირდაპირ Sandbox-ში სცადოთ — დღეში 50 უფასო სატესტო გამოძახება. შესვლა
განახლდა