Axuda de The Movie Database

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.

  • Sricharan Krishnan

4 respostas (na páxina 1 de 1)

Jump to last post

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.

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%?

You got it. ok_hand_tone2

Great thank you so much. I'll write back if there are any issues.

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión