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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on September 17, 2018 at 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.
Reply by Galacticavenger
on September 18, 2018 at 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.
Reply by Galacticavenger
on September 19, 2018 at 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.
Reply by Travis Bell
on September 19, 2018 at 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.