The Movie Database-ondersteuning

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

4 antwoorden (op pagina 1 van 1)

Jump to last post

Hi there,

You should make a call to the persons credits method:

https://api.themoviedb.org/3/person/287/credits?api_key=###

Or better yet with append_to_response (in order to get the person details and credits in a single request):

https://api.themoviedb.org/3/person/287?api_key=###&append_to_response=credits

Cheers.

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.

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.

What query are you using? The API search is the same as here on the website:

I'll need more information to go on.

Film of tv-serie niet gevonden? Log dan in om deze te creëren.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op TV seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met TV-programma's

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c gesloten of open
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen