user_ratings_total google 个地方 API 不再可用。获取评论总数的替代方法?

user_ratings_total No longer available in google places API. Alternative for getting total number of reviews?

截至今天 (5/25/2016) Google 地点 API 中似乎不再有 user_ratings_total 的数据。我用它来获取企业的评论总数。是否有其他方法来获取这些数据?

我会尝试 Google My Business API, see in particular the documentation section Work with Review Data

您需要Request access to the API

如果您希望 Google 恢复以前未记录的 user_ratings_total 结果键(或类似的东西),请转到:https://code.google.com/p/gmaps-api-issues/issues/detail?id=3484 并将您对此功能的投票添加到正式添加

这个问题是 "Acknowledged" 于 2013 年 6 月 3 日 Google 回来的,并且仍然是开放的(其他类似的问题,如 https://code.google.com/p/gmaps-api-issues/issues/detail?id=9824 已经 "closed"状态如 "WorkingAsIntended")。

希望如果我们获得足够多的赞成票,那么也许他们会看到需要并将其放回原处并使其正式生效(而不是未记录在案)。

(不幸的是,我刚注册时无法post将其作为评论;所以我将post将其作为答案并希望它没问题。)

我遇到了同样的问题,Google 地点 API 的评论总数似乎与 Google 我的商家 API 的评论总数不同:

[https://www.en.advertisercommunity.com/t5/Google-My-Business-API/Total-Reviews-are-no-longer-getting-in-Google-Places-API-and/td-p/573090#][1]

此问题现已修复。重新发布@TechLeadAA

上面链接的问题的评论

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 iOS: GMSPlaceFieldUserRatingsTotal

Places SDK for Android: Place.Field.USER_RATINGS_TOTAL