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
Etkö löydä elokuvaa tai TV-ohjelmaa? Kirjaudu sisään lisätäksesi se.
Haluatko pisteyttää vai lisätä tämän nimikkeen listaan?
Ei rekisteröitynyt jäsen?
Vastaus käyttäjältä Travis Bell
17 syyskuu 2018 klo 5:03PM
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.
Vastaus käyttäjältä Galacticavenger
18 syyskuu 2018 klo 10:50PM
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.
Vastaus käyttäjältä Galacticavenger
19 syyskuu 2018 klo 12:48AM
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.
Vastaus käyttäjältä Travis Bell
19 syyskuu 2018 klo 6:24PM
What query are you using? The API search is the same as here on the website:
I'll need more information to go on.