Sample search place URL using location type(art/entertainment/..) and geo location

3 views
Skip to first unread message

kannan

unread,
Jun 21, 2010, 1:51:17 PM6/21/10
to Rummble API
Team,

Can I have a sample URL to search places based on the given location
(or by geoCode: Lat/Lon) and types (like business, art, entertainment
etc.,) ?

Thanks,
Kannan

Claudio

unread,
Jun 22, 2010, 7:11:32 AM6/22/10
to Rummble API
The method to retrieve places around a specific latitude/longitude is
getNearestRummble (the documentation is here
http://developer.rummble.com/docs/API/rummble_getNearestRummbles).
You can also specify a set of additional parameter like tags.
For example this query retrieve all the places around latitude 51.5321
and longitude 0.10587 filtering with the tags "pizza" and "italian
restaurant".
As you can see from the documentation you can specify also the set of
fields you want in the result set.
In this example we've set the name of the place, the rating, the
latitude, the longitude and the address.

Url:
http://api.rummble.com/?oauth_nonce=X&oauth_consumer_key=X&format=xml&version=1.0&oauth_signature=X&oauth_token=X&method=rummble.getNearestRummbles&longitude=-0.1058721&latitude=51.5321&fields=name%2Crating%2Clatitude%2Clongitude%2Caddress&tags=pizza%2Citalian%20restaurant
Reply all
Reply to author
Forward
0 new messages