GeoLocale
v1.0.0What is around a neighborhood: counts of everyday places within 1 km, from OpenStreetMap.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
find_cities Find cities on GeoLocale
List the cities GeoLocale covers, filtered by part of a city name and/or a country. Returns each city's id, its number of neighborhoods, how many have counts, the date of its map data and the address of its page.
| Parameter | Type | Description |
|---|---|---|
country | string | Part of a country name in English, for example "portugal". |
limit | integer | How many cities to return. Default 25. |
query | string | Part of a city name, for example "lisbon". |
compare_neighborhoods Compare a city's neighborhoods
Set the neighborhoods of one city side by side: the distance to the nearest rail or metro station, and how many parks, supermarkets, pharmacies, schools, restaurants and cafes lie within 1 km of each neighborhood centre. Counted from OpenStreetMap; the answer carries the date of the map data.
| Parameter | Type | Description |
|---|---|---|
city * | string | City name, "name, country" when the name is shared, or GeoLocale's id for the city, for example "lisbon". |
limit | integer | How many neighborhoods to return. Default 30. |
sort_by | string | Order by one measure: transit is closest station first, the others are most first. Omit for the order of the city page. |
neighborhood_facts What is around one neighborhood
Everything GeoLocale counted around one neighborhood: for each kind of place, the number within 1 km of the centre and the name and distance of the nearest one, plus the similar neighborhoods in other cities matched on the same counts. Counted from OpenStreetMap; the answer carries the date of the map data.
| Parameter | Type | Description |
|---|---|---|
city * | string | City name, "name, country", or GeoLocale's id for the city, for example "lisbon". |
neighborhood * | string | Neighborhood name as GeoLocale lists it on the city's page. |
find_stays Find hotels with a direct booking link
Find hotels in one city for exact dates and guests, each with the provider's real total price for the cheapest room and ONE link that opens that room's checkout with the hotel, dates, guests and room already chosen. Give the person the link: they only add their own details and pay. GeoLocale does not book or take payment; the guest pays the booking provider. Prices are totals for the whole stay in the currency shown, as the provider quotes them now, and a room can be sold before the link is opened. A hotel the provider has no room for on those nights is not listed.
| Parameter | Type | Description |
|---|---|---|
checkin * | string | Arrival date, YYYY-MM-DD, today or later. |
checkout * | string | Departure date, YYYY-MM-DD, after checkin, at most 30 nights. |
city * | string | City name or GeoLocale's id for the city, for example "lisbon". |
adults | integer | Adults. Default 2. |
children | array | The age of each child, if any. |
currency | string | Three-letter currency code for the prices, for example "EUR". Default EUR. |
limit | integer | How many hotels to return, cheapest first. Default 8. |
max_price | number | Leave out hotels whose total for the stay is above this, in the chosen currency. |
min_stars | integer | Leave out hotels with fewer stars. |