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.
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 27 oktober 2023 vid 4:52 PM
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.Svar från sricharankrishnan
den 27 oktober 2023 vid 8:56 PM
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%?
Svar från Travis Bell
den 27 oktober 2023 vid 9:58 PM
You got it.
Svar från sricharankrishnan
den 27 oktober 2023 vid 10:11 PM
Great thank you so much. I'll write back if there are any issues.