如何使用Google Places API获得最新评论 [英] How to get latest reviews using Google places API
问题描述
我已经使用Google地方信息API来提取地方的评论. Google Places API仅提供前5条最相关的评论, 但是我需要一个地方的最新评论.
I have using Google places API for extracting reviews for places. The google places API providing top 5 most relevant reviews only, But I Need Latest reviews for a place.
是否可以从Google Places API获得最新的5条评论,而不是最相关的评论?
Is possible to get latest five reviews instead of most relevant reviews from google places API?
推荐答案
当前,Google Places API无法选择在响应中对评论进行排序.订单功能请求已于2012年在Google问题跟踪器中提交:
Currently, Google Places API doesn't have an option to order reviews in the response. The feature request for the ordering was submitted in Google issue tracker in 2012:
https://issuetracker.google.com/issues/35821903
不幸的是,看起来Google并未为此任务设置优先级.我建议您在问题跟踪器中为功能请求加注星标,以添加您的投票并订阅进一步的通知.
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.
这篇关于如何使用Google Places API获得最新评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!