Վարորդի POI-ների API Online
Բեռնատարների կայանատեղիներ (14k+), անվճար ցնցուղներ, ծառայություններ և սուպերմարկետներ ամբողջ Եվրոպայում՝ կոորդինատներով։ Արդյունքները դասավորված են ամենամոտից՝ distance_km-ով։ Փնտրում ըստ lat/lon կամ city (+country)։
GET https://nakordoni.eu/api/v1/data/pois
— քվոտայի դաս: cheap
| Պարամետր | Նկարագրություն |
|---|---|
type | պարկինգ|դուշ|սուպերմարկետ|արդյունաբերական |
lat | Լայնություն |
lon | Երկայնություն |
city | City name — alternative to lat/lon, resolved to coordinates |
country | ISO-2 country code, disambiguates city (e.g. city=Brest needs FR vs BY) |
radius | Շառավիղ կմ |
limit | Max results (default 50, max 500) |
lang | Language for country names (default en) |
Պատասխանի դաշտերը — պատասխանի ծրարի data օբյեկտի ներսում։ []-ը ցույց է տալիս ցուցակ, ուստի data.items[].name-ը յուրաքանչյուր տարրի name դաշտն է։ Դաշտը լինում է null, բացակայում է կամ դատարկ ցուցակ է, երբ արժեք չունենք․ լցոնող արժեք երբեք չենք դնում։
| Դաշտ | Նկարագրություն |
|---|---|
data.pois[].id | POI ID, with type — which of the requested types this one is. |
data.pois[].name | Name, with address. |
data.pois[].lat | Coordinates, with lng and distance_km from the search point. |
data.pois[].country | ISO-2 country, with country_code and country_name. |
data.pois[].amenities | What the place offers, where we know it — absent rather than empty when unknown. |
data.total_found | Matches inside the radius; limit is how many were returned. search_location echoes the point searched. |
curl "https://nakordoni.eu/api/v1/data/pois?type=parking&lat=50.7&lon=23.9&radius=50" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Մուտք գործեք որպես ծրագրավորող՝ այս endpoint-ը ուղիղ Sandbox-ում փորձելու համար — օրական 50 անվճար թեստային կանչ։ Մուտք