使用 Google 个地点的 Google 条评论总数 API

Total number of Google Reviews using Google Places API

既然 Google 在 Google 地方 API 中弃用了 user_ratings_total 变量,有没有办法获得特定企业的评级总数?

我在这里 看到了答案,但它建议使用 Google 我的公司 API,而不是 Google 地点 API.

谢谢。

遗憾的是,无法再检索总用户评论。以下是请求添加 user_ratings_total 的问题跟踪器列表。最老的似乎可以追溯到 2011 年。

https://issuetracker.google.com/u/1/issues/35820858

https://issuetracker.google.com/u/1/issues/35821787

https://issuetracker.google.com/u/1/issues/35823510

https://issuetracker.google.com/u/1/issues/35828637

不仅 user_ratings_total 被删除了。但是似乎没有解释为什么它被删除了。很可能 Google 没有兴趣解决这个问题。

编辑:截至 2019 年,它现在可在 Google 个地方 API 中使用。请参阅上面的答案。

只是报告此问题现已修复。重新发布来自 Google Issue tracker:

的评论

The total amount of ratings is now generally available for all Places API clients as part of the Basic SKU:

https://developers.google.com/places/web-service/details#fields https://developers.google.com/places/web-service/place-data-fields#basic

Places API: user_ratings_total

Places SDK for Android: Place.Field.USER_RATINGS_TOTAL

Places SDK for iOS: GMSPlaceFieldUserRatingsTotal

截至 2019 年 1 月,可以使用地点详情 API 调用(user_ratings_total 字段)获取评论总数:https://developers.google.com/places/web-service/details#fields