如何从Google评论中获取评论总数 [英] how to get total number of reviews from google reviews
问题描述
使用Google Places API,可以获取与某个地方的用户评论相关的详细信息.查看文档,看来我可以获得以下详细信息:
With the google places api, it is possible to get details related to user reviews of a place. Looking at the documentation and it seems that I can get the following details:
- 评分:0-5(基于用户评分),这是所有已提交评论的平均值
- 最近5个用户评分
但是,似乎没有任何引用
However, there doesn't seem to be any reference to
- 评论总数
- 每个评分的总数,即5/5:5条评论,4/5:23条评论,...
有人知道从何处获取此信息吗?
Anyone have an idea on where to get this information?
推荐答案
有一个新的(尚未记录)详细信息结果键user_ratings_total
.我相信这是对整体rating
有所贡献的评分数量.
There is a new, yet to be documented, details result key user_ratings_total
. I believe this is the number of ratings that have contributed to the overall rating
.
我不认为API当前提供每个评分值的总数.您可以在 gmaps-api-issues .
I don't believe the API currently provides count totals for each rating value. You could request this enhancement (if it hasn't been already) at gmaps-api-issues.
这篇关于如何从Google评论中获取评论总数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!