简体   繁体   English

如何使用 Google Places API 获取最新评论

[英]How to get latest reviews using Google places API

I have using Google places API for extracting reviews for places.我使用 Google 地点 API 来提取地点的评论。 The google places API providing top 5 most relevant reviews only, But I Need Latest reviews for a place.谷歌地点 API 仅提供前 5 条最相关的评论,但我需要一个地点的最新评论。

Is possible to get latest five reviews instead of most relevant reviews from google places API?是否可以从谷歌地点 API 获得最新的五条评论而不是最相关的评论?

Currently, Google Places API doesn't have an option to order reviews in the response.目前,Google Places API 没有在响应中订购评论的选项。 The feature request for the ordering was submitted in Google issue tracker in 2012:订购的功能请求于 2012 年在 Google 问题跟踪器中提交:

https://issuetracker.google.com/issues/35821903 https://issuetracker.google.com/issues/35821903

Unfortunately, it looks like Google didn't set priority on this task.不幸的是,谷歌似乎没有为这项任务设置优先级。 I can suggest starring the feature request in issue tracker to add your vote and subscribe to further notifications.我可以建议在问题跟踪器中为功能请求加星标以添加您的投票并订阅进一步的通知。

Seems there is a paid API for businesses to use to get this info.似乎有供企业使用的付费 API 来获取此信息。 I have not used it but it is talked about in the issue tracker thread mentioned by xomena ( https://issuetracker.google.com/issues/35821903 )我没有使用过它,但在 xomena ( https://issuetracker.google.com/issues/35821903 ) 提到的问题跟踪器线程中进行了讨论

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

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