简体   繁体   English

Google Places API:地点详细信息限制为5条评论

[英]Google Places API: Place Details limited to 5 Reviews

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

The "reviews" output list is apparently limited to the top 5 reviews. “评论”输出列表显然仅限于前5条评论。 This isn't mentioned at all in the documentation. 文档中完全没有提到这一点。 Is there way to get paginated results or more than 5? 有没有办法获得分页结果或大于5?

This is explicit stated in the documentation here , under the reviews[] field explaination: 这是在此处的文档中,在reviews[]字段说明下明确指出的内容:

reviews[] a JSON array of up to five reviews. reviews []一个JSON数组,最多包含五个评论。

There is currently no way to retrieve more than 5 reviews. 当前无法检索超过5条评论。 If you think this would be a valuable feature you can submit a Places API - Feature Request here . 如果您认为这将是一项有价值的功能,则可以在此处提交Places API - Feature Request

You can now actually get all of the reviews, all you need to do is use a google's my business api. 现在,您实际上可以获取所有评论,您所需要做的就是使用Google的我的业务api。

There is more work to do for you, but it meets all requirements for sorting/filtering reviews. 还有更多工作要做,但它满足所有排序/筛选评论的要求。

Google My Business API Google我的商家API

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM