Google Places API:地点详情限制为5条评论 [英] Google Places API: Place Details limited to 5 Reviews

查看:141
本文介绍了Google Places API:地点详情限制为5条评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



评论输出列表显然仅限于前5条评论。这在文档中根本没有提及。有没有办法得到分页结果或超过5? 解决方案

这是在文档此处,位于 reviews [] 字段解释下:


评论[]一个包含多达五条评论的JSON数组。


目前无法检索超过5条评论。如果您认为这将是一项有价值的功能,您可以提交 Places API - 功能请求 在这里


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?

解决方案

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.

这篇关于Google Places API:地点详情限制为5条评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆