Assistance de TMDB

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 réponses (sur la page 1 sur 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.

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenĂŞtre ouverte
? Ouvrir la fenĂŞtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenĂŞtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion