user1913259
user1913259

Reputation: 81

Getting list of POI from Google Places API

Can anyone guide how to get list of POI from a particular city for e.g. ahmedabad.

Got the query https://maps.googleapis.com/maps/api/place/nearbysearch/xml?location=23.006000,72.601100&types=point_of_interest&radius=50000&sensor=false&key=YouAPIKey

"point_of_interest" its already mentioned that they provide but not sure how

https://developers.google.com/places/documentation/supported_types

Help will be appreciated

Upvotes: 8

Views: 26485

Answers (3)

akshay_shahane
akshay_shahane

Reputation: 4643

I have came across same issue i have tried all the answers on how to find points of interest using places api as type : point_of interest is now allowed now

following worked for me query todo+in+city or country

https://maps.googleapis.com/maps/api/place/textsearch/json?query=todo+in+India&key=yourkey

Upvotes: 0

Maneesh Pagidi
Maneesh Pagidi

Reputation: 1

https://maps.googleapis.com/maps/api/place/textsearch/json?query=places+in+'city'&key='APIKEY'

Replace with your city and API KEY.

Upvotes: 0

talha kazmi
talha kazmi

Reputation: 51

You need to pass any one of the supported type to your query against types.

Restricts the results to Places matching at least one of the specified types. Types should be separated with a pipe symbol (type1|type2|etc). See the list of supported types.

https://developers.google.com/places/documentation/supported_types

Upvotes: 4

Related Questions