Hello.
I probably have an idea this might have been asked a few times in the past, but lets get a clear picture here. I'm trying to pick up new dev skills and I'd like to understand how the rating system works for movies, tv shows and people. My objective is to show a radial display with a particular rating upon 10. Like 8.0/10 or a 7.5/10 etc.
How do I calculate and what do I calculate for each of the data types to derive this value? I am not able to locate a resource that can help me understand how the calculation should be done.
Please help.
Thank you in advance.
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 27. Oktober 2023 um 16:52
Hi @sricharankrishnan,
If you're using our data, you don't need to calculate any of that yourself. Just use the
vote_average
field returned as part of all of the media objects on the API.Antwort von sricharankrishnan
am 27. Oktober 2023 um 20:56
Hello Travis,
Sure will do. I'm assuming that we could use the vote average value upon 10? That is if vote average value is 7.5 then it's 7.5/10 which is 75%?
Antwort von Travis Bell
am 27. Oktober 2023 um 21:58
You got it.
Antwort von sricharankrishnan
am 27. Oktober 2023 um 22:11
Great thank you so much. I'll write back if there are any issues.