The Movie Database-ondersteuning

¿How could I do to get JSon result of movies of a specific actor by actor's name? I know I could get actor ID for eg: https://api.themoviedb.org/3/search/person?api_key=#####&query=bruce+willis , so id is 62 but I need to get this actor movies returned in JSon format.

I tried different was like https://www.themoviedb.org/discover/movie?with_cast=62 however that way gives me movies with different cast and no Bruce Willis. This way no API-KEY is requiered and no Json results is returned.

I tried: https://api.themoviedb.org/3/search/movie?api_key=#####&query=62. However it seems movie id 62 Json data is returned.

1 antwoord (op pagina 1 van 1)

Jump to last post

Hi accarvajal,

Once you have a person id, you need to call one of the person methods.

http://api.themoviedb.org/3/person/62/movie_credits?api_key=###
http://api.themoviedb.org/3/person/62/tv_credits?api_key=###
http://api.themoviedb.org/3/person/62/combined_credits?api_key=###

You can also use discover to get their credits:

http://api.themoviedb.org/3/discover/movie?api_key=###&with_cast=62

The downside to this approach is that there's no combined method BUT you get the extra flexibility of sorting and filtering by all of the supported options on discover.

Cheers.

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

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-series

(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 schakelen sluiten/openen
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