librarything.local.searchvenues

Returns the LibraryThing Local data for venues near a specific location.
Authentication
This method does not require authentication.
Arguments
api_key (required)
Your API key. See your LibraryThing developer profile to get a key.
You must supply at least one of these arguments in your request.
If you supply more than one of the arguments they will be tried in the order listed here until a valid response is generated.
q (optional)
A query string to search for
example: q=Harvard
Optional location arguments
If you do not supply location information then distance measurements will not be returned in the XML
latlon (optional)
A latitude/longitude pair, separated by a comma
example: latlon=30.6,-88.1
lat and lon (optional)
A latitude/longitude pair, as separate arguments
example: lat=30.6&lon=-88.1
Other optional arguments
centeronq (optional)
Use q as the center-point of a location-based search.
The possible values are 0 for false and 1 for true
Default: 0
example: &centeronq=1
measure (optional)
The unit of measure used for distances.
The possible values are 0 for miles and 1 for kilometers
Default: 0
example: &measure=1
Example Request
http://www.librarything.com/services/rest/1.1/?method=librarything.local.searchvenues&q=Harvard&apikey=d231aa37c9b4f5d304a60a3d0ad1dad4
Example Response
Here is an example REST response for all venues with matching Harvard
Help/FAQs | About | Privacy/Terms | Blog | Contact | APIs | WikiThing | Common Knowledge | Legacy Libraries | 81,847,704 books!