The Movie Database Support Forum

¿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 Antwort (Seite 1 von 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.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden