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
Não consegue encontrar um certo Filme ou Série? Inicie Sessão e adicione-o.
Deseja classificar ou adicionar este item a uma lista?
Ainda não é um membro?
Resposta de Travis Bell
em 17 setembro 2018 às 5:03 PM
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.
Resposta de Galacticavenger
em 18 setembro 2018 às 10:50 PM
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.
Resposta de Galacticavenger
em 19 setembro 2018 às 12:48 AM
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.
Resposta de Travis Bell
em 19 setembro 2018 às 6:24 PM
What query are you using? The API search is the same as here on the website:
I'll need more information to go on.