¿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.
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 13 Ιούλιος 2015 στις 10:47 ΕΊΜΑΙ
Hi accarvajal,
Once you have a person id, you need to call one of the person methods.
You can also use discover to get their credits:
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.