Assistance de TMDB

When i use "/person/{person_id}" to get people details can I get "known for" array ?

12 réponses (sur la page 1 sur 1)

Jump to last post

There is no such field at this time. I have an open ticket for this here.

FYI--The person method now includes a known_for_department which you can use to know what department to build a persons "known for" data with.

Hey there, Mr.

I'm pretty sure that I saw that field months ago (I think), where you can see some other movies from the actor, but can't find it right now. It appears on the main web tho. It is available in the API right?

Person search results contain a known_for array (limited to 3 items), but other than that, you would need to build this data yourself. You can do that by checking the known_for_department field and then iterating over the persons credits.

You're right. Excellent! Thank you for the quick response. Have a good one.

Hi @travisbell , sorry for unearthing an old thread. Your answer from above has been quite helpful. I saw an older one were you also mentioned that known for result were sorted by descending rating count. Currently, the known for info on TMDB seems more accurate than what I can get with this technique. Would you have any guidance on how to achieve something close?

Hi @Romain_lfb, it's true that the logic around how we calculate the known for items changed a while back.

I'm not sure the current method is achievable with the data provided by the API so I just created a new ticket to think about adding the field to the API.

Thanks @travisbell . I noticed you've got an order property being returned at the moment but many of the items have the same order index. Could this be enhanced to give a granular order of most know for to least? Just an idea. Keep up the good work!

@Romain_lfb said:

Thanks @travisbell . I noticed you've got an order property being returned at the moment but many of the items have the same order index. Could this be enhanced to give a granular order of most know for to least? Just an idea. Keep up the good work!

That order property represents the order of that particular actor in the overall cast. So, if an actor has played the lead role in all of the movies he is known for, the order for all would be 0.

@travisbell I am looking for the exact same thing... is there a recommended workaround to get this done? For now I am doing this:

  1. Get combined_credits
  2. Use Cast / Crew based on known_for_department
  3. If using Cast sort by (vote_count / (order+1)) descending
  4. If using Crew sort by vote_count descending
  5. Would love to hear your thoughts...

I think we still have problems here. The 'known_for' array associated with a person includes results there are really NOT known for...

For example, when i search Rik Mayall the most popular movie he is 'known for' according to the array is 'An american werewold in london' in which he played '2nd chess player' listed 8th in order of movie credits. This is a very minor role.

Is the intent that the known_for array would only include credits where the person is in the lead role? i.e order = 0? If so it seems to be broken in this instance.

+1 to having a known_for in /person/{id}, please.

I'm able to fake it in a passable way by looking at order & popularity, but it's far from great. Something that was more curated would be lovely, rather than trying to back into it by hand.

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