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
Film of tv-serie niet gevonden? Log dan in om deze te creëren.
Want to rate or add this item to a list?
Not a member?
Reactie van Travis Bell
op 17 september 2018 om 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.
Reactie van Galacticavenger
op 18 september 2018 om 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.
Reactie van Galacticavenger
op 19 september 2018 om 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.
Reactie van Travis Bell
op 19 september 2018 om 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.