Google Places API: Place Details limited to 5 Reviews

柔情痞子 提交于 2019-12-06 02:56:32

问题


https://developers.google.com/places/documentation/#PlaceDetails

The "reviews" output list is apparently limited to the top 5 reviews. This isn't mentioned at all in the documentation. Is there way to get paginated results or more than 5?


回答1:


This is explicit stated in the documentation here, under the reviews[] field explaination:

reviews[] a JSON array of up to five reviews.

There is currently no way to retrieve more than 5 reviews. If you think this would be a valuable feature you can submit a Places API - Feature Request here.




回答2:


You can now actually get all of the reviews, all you need to do is use a google's my business api.

There is more work to do for you, but it meets all requirements for sorting/filtering reviews.

Google My Business API



来源:https://stackoverflow.com/questions/11623912/google-places-api-place-details-limited-to-5-reviews

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