Axuda de The Movie Database

Hi.

So looking at for example https://www.themoviedb.org/movie/436969-the-suicide-squad I see that the recommendations have a procentage, which I'm guessing is for how good the match is. How do I get that procentage via the API? Looking at https://developers.themoviedb.org/3/movies/get-movie-recommendations I don't see any output for that, what I'm doing right now is in my code interpreting the first returned value as the best match, but that doesn't always match what the tmdb website sais with the procentage.

So TLDR: How do I get the procentage for recommendation shown on the tmdb movie page from the API?

Thankful for any help!

5 respostas (na páxina 1 de 1)

Jump to last post

@vezel said:
How to get recommendation procentage?
Hi.
So looking at for example https://www.themoviedb.org/movie/436969-the-suicide-squad I see that the recommendations have a procentage, which I'm guessing is for how good the match is. How do I get that procentage via the API?
Looking at https://developers.themoviedb.org/3/movies/get-movie-recommendations I don't see any output for that, what I'm doing right now is in my code interpreting the first returned value as the best match, but that doesn't always match what the tmdb website sais with the procentage.

So TLDR: How do I get the procentage for recommendation shown on the tmdb movie page from the API?

https://developers.themoviedb.org/3/movies/get-movie-recommendations
I don't know if the exact same criterion is used.
It's the only one I know.

The percentage of the movie's/show's recommendations on the website are the actual ratings of the shows/movies. If you go to one of the listed ones you'll see that is matches the rating's value.

So there is no such thing as matching percentage available in the API.

Ah ok that explains it! So the "best" match is the first returned movie? OR is it just random?

Only Travis can answer how it's calculated or sorted internally since he's the administrator.

Please help me find my movie recommendations. This is one of the reasons I came to this site. To store what I watch, want to watch and recommendations based off of that. I like the rating system too.

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