Goodreads Developers discussion

98 views
bugs > Review Count API - Average Rating Above 5

Comments Showing 1-4 of 4 (4 new)    post a comment »
dateUp arrow    newest »

message 1: by Abebooks (new)

Abebooks Traffic | 3 comments Hi,

At AbeBooks we use the Goodreads rating count information from the Review Count API (https://www.goodreads.com/api/index#b...)

We recently noticed that some of the entries returned in hte API call have an average rating higher than 5. If this expected? We were working under the assumption that the rating scale was from 0 to 5. Is this a bug or is there a change in the Rating model?

Example:
https://www.goodreads.com/book/review...

{
"books": [
{
"id": 24040567,
"isbn": "0385753500",
"isbn13": "9780385753500",
"ratings_count": 3,
"reviews_count": 12,
"text_reviews_count": 1,
"work_ratings_count": 21,
"work_reviews_count": 88,
"work_text_reviews_count": 4,
"average_rating": "5.29"
}
]
}

Thanks,
AbeBooks Traffic team


message 2: by Michael (new)

Michael Economy (michaeleconomy) yeah, thats a bug, i'll open a ticket.


message 3: by Michael (new)

Michael Economy (michaeleconomy) a quick fix on your end would be to cap it at 5 if it's more than 5.


I suppose this could also be a quick fix on our end also, but we'll want to also clean up the underlying data.


message 4: by Abebooks (new)

Abebooks Traffic | 3 comments Thanks for the reply Michael. I've added custom validation to our model to make sure it's between 5 and 0.


back to top