How to get list of restaurants by using google maps. I want to get more than 20. Is it possible?

社会主义新天地 提交于 2019-12-23 04:34:26

问题


How to get list of restaurants by using google maps. I want to get more than 20. Is it possible? Btw, google places impossible to use, because in my case Ukrain Donetsk city doesn't show any restaurants in google places. But when I use simple google maps it shows all restaurants. How to get this list of restaurants which google maps shows. I.e. like this information: Restaurant name and address.

Thank you very much.

Regards, Sergey.


回答1:


It's not possible to use more than 20 results, and it's highly probable that we don't have proper categorised data for your area.

Try using the keyword parameter, you may have more luck. Something like this: https://maps.googleapis.com/maps/api/place/search/json?location=37.422262,-122.169261&radius=500&keyword=restaurant&sensor=false&key=...



来源:https://stackoverflow.com/questions/8558914/how-to-get-list-of-restaurants-by-using-google-maps-i-want-to-get-more-than-20

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!