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
+).
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 11 de mayo de 2020 a las 12:07
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.