Getting list of POI from Google Places API

后端 未结 3 1408
滥情空心
滥情空心 2021-02-09 02:10

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.

相关标签:
3条回答
  • 2021-02-09 02:30

    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

    0 讨论(0)
  • 2021-02-09 02:30
    https://maps.googleapis.com/maps/api/place/textsearch/json?query=places+in+'city'&key='APIKEY'
    

    Replace with your city and API KEY.

    0 讨论(0)
  • 2021-02-09 02:41

    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

    0 讨论(0)
提交回复
热议问题