How to get 20+ result from Google Places API?

后端 未结 7 1835
一整个雨季
一整个雨季 2020-12-02 10:22

I am developing an app in which I am getting the list of ATM\'s near by the user. For that I am using Google Places API, but every time it returns 20 result only. I want to

7条回答
  •  既然无缘
    2020-12-02 10:35

    You can get the more results from next page token:

    https://maps.googleapis.com/maps/api/place/textsearch/json?query=[your search key word]&location=latitude,longitude&radius=value&key=[your API key]&next_page_token=next_page_token value
    

提交回复
热议问题