How can I get more than 60 results from the Google Places API?
google-maps, google-maps-api-3, google-places-api
Solution
@user1774357 I know this is old but I may help someone else.
I wrote this solution in ruby.
The image explains https://i.stack.imgur.com/RXVsY.jpg
Get the south west, and north east coordiate.
Then you will have to create the coordinates for a grid. For ruby I used the `GeoPoint` gem. For a point I can say give me the coordinates 1km west of this point `GeoPoint.new(point_1.destination_point(0, 1.0).to_dms)`
Once you have the list of coordinates (from the grid) send them all one by one to Google Places to generate a list. In the image there's 20 points so I had to send 20 requests which took about 1 minute.
Merge the list and make sure they're unique.
Problem
I was able to obtain the post office result by the Google Places API call below. https://maps.googleapis.com/maps/api/place/search/xml?location=35.610418,139.182358&radius=1000000&types=post_office&language=ja&sensor=false&key="MyKey" But, The third page does not have "next_page_token" tags, you can not retrieve the results following. How can I get the more than 60 results after the fourth pages?.