How to get all the movies done by an actor? I have used this but it returns only 3 results:
https://api.themoviedb.org/3/search/person?api_key=####&language=en-US&page=1&include_adult=false
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 Travis Bell
le 17 septembre 2018 à 17h03
Hi there,
You should make a call to the persons credits method:
Or better yet with
append_to_response
(in order to get the person details and credits in a single request):Cheers.
Réponse de Galacticavenger
le 18 septembre 2018 à 22h50
I am trying to build a search method where user will provide the actor's name as an input and as output the website will provide all the works by that actor. Now the issue is that since the user is providing the name as input but the link that you have provided takes person_id as input.
Réponse de Galacticavenger
le 19 septembre 2018 à 00h48
thanks for the suggestion worked it out. I have another query i.e, somehow the tv search : https://api.themoviedb.org/3/search/tv?api_key=######&language=en-US&query="+###+"&page=1 returns me irrelevant results.
Réponse de Travis Bell
le 19 septembre 2018 à 18h24
What query are you using? The API search is the same as here on the website:
I'll need more information to go on.