Hey there, Is it possible to get all the top rated movies of an actor based on his ID?
thanks
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de codenametyler
le 8 février 2019 à 06h57
correct me if am wrong, we can use the filters in movie discovery to achieve it. https://developers.themoviedb.org/3/discover/movie-discover
Réponse de Travis Bell
le 8 février 2019 à 15h57
Hi @codenametyler,
Yes, you can use /discover. You'll want to look at using the
with_people
filter. Looking at Brad Pitt as an example:Réponse de codenametyler
le 11 février 2019 à 00h52
Hello @travisbell ,
that exactly what i did, with an autocomplete to get the peopleID. XD
Cheers
Réponse de msheliga1
le 22 décembre 2023 à 16h25
This works similary for "with_people" and for "with_keywords" - in both case you must use the numerical ID of the person/keyword. This is true even though the API reference for Discover->Movie, for example, states that these values are strings. I tried with_keywords using both words (such as "Batman") and out of range numbers (such as "2"), but the first page of roughly 832,000 results were returned. Only when using a valid keyword ID (such as 4344 for "musical") will this work.
Réponse de Travis Bell
le 22 décembre 2023 à 16h48
The docs state strings because values like "9663|9748" and "9663,9748" are valid in order to issue an
OR
orAND
query.