GeoLocale

v1.0.0
io.geolocale/geolocale Checked 4 days ago Published 16 days ago

What 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.

ParameterTypeDescription
countrystringPart of a country name in English, for example "portugal".
limitintegerHow many cities to return. Default 25.
querystringPart 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.

ParameterTypeDescription
city *stringCity name, "name, country" when the name is shared, or GeoLocale's id for the city, for example "lisbon".
limitintegerHow many neighborhoods to return. Default 30.
sort_bystringOrder 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.

ParameterTypeDescription
city *stringCity name, "name, country", or GeoLocale's id for the city, for example "lisbon".
neighborhood *stringNeighborhood 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.

ParameterTypeDescription
checkin *stringArrival date, YYYY-MM-DD, today or later.
checkout *stringDeparture date, YYYY-MM-DD, after checkin, at most 30 nights.
city *stringCity name or GeoLocale's id for the city, for example "lisbon".
adultsintegerAdults. Default 2.
childrenarrayThe age of each child, if any.
currencystringThree-letter currency code for the prices, for example "EUR". Default EUR.
limitintegerHow many hotels to return, cheapest first. Default 8.
max_pricenumberLeave out hotels whose total for the stay is above this, in the chosen currency.
min_starsintegerLeave out hotels with fewer stars.