The way I'm currently getting the directors and "top cast" for a given movie is through the https://developers.themoviedb.org/3/movies/get-movie-credits endpoint. I'm getting the first 10 itens of the array cast
and all the crew
such that crew[job] == 'Director'
. This is very inefficient when you do it for a lot of movies because the credits
response can be very long (100 KB
+).
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 11 mai 2020 à 12h07
Hi there,
At this time, there's no other method to get cast & crew. What you're doing is the only way. The only extra thing I will add is to use
append_to_response
if you're making a get details call as well. Not sure if you are, but that will at least allow the 2 calls to happen in a single HTTP call.