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:
- rating: 0-5 based on user rates and this is the average of all submitted reviews
- last 5 user ratings
However, there doesn't seem to be any reference to
- total number of reviews
- count total for each rating ie, 5/5: 5 reviews, 4/5: 23 reviews, ...
Anyone have an idea on where to get this information?
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
.
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.
it is possible now to get total number of reviews using Place Details
Place APIs call: https://developers.google.com/places/web-service/details#fields
as of Jan 2019, it returns user_ratings_total
field: https://developers.google.com/maps/documentation/javascript/releases#335