
Geosearch for Entries with Filters
Searches the guide for entries based on longitude and latitude
Searches the Eyewitness Guides for information based on a given geolocation and additional filters. The nearest 25 matches are returned, in the requested format.
The syntax of the API is as follows:
https://api.pearson.com/eyewitness/[guidebook]/block.[format]?lon=[longitude]&lat=[latitude]&q=[search text]&category=[category]&tag=[entry_type]&apikey=[apikey]&jsonp=[callback name]
where:
- [guidebook] is one of:
- london - for the DK Eyewitness Guide To London
- newyork - for the DK Eyewitness Guide To New York City
- paris - for the DK Eyewitness Guide To Paris
- washington - for the DK Eyewitness Guide To Washington DC
- berlin - for the DK Eyewitness Guide To Berlin
- rome - for the DK Eyewitness Guide To Rome
- barcelona - for the DK Eyewitness Guide To Barcelona & Catalonia
- venice - for the DK Eyewitness Guide To Venice & Veneto
- prague - for the DK Eyewitness Guide To Prague
- [longitude] a point of longitude decimal degrees
- [latitude] a point of latitude in decimal degrees
- [search text] is the text to search for and can include * as a wildcard character
- [category] scopes the search to entires within the specified categories such as Restaurants. You can provide multiple categories by providing a comma separated list.
- [format] is the representation to be used for returning the results, can be one of the following:
- html
- xml
- json
- [callback name] when the format requested is json, the jsonp parameter is used to wrap the response in a jsonp style callback
Note: When accessing the full production API, remember to use your full production API key instead of your sandbox API key