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
+).
Can't find a movie or TV show? Login to create it.
Ĉu volas taksi aŭ aldoni ĉi tiun elementon al listo?
Ĉu ne estas membro?
Respondo de Travis Bell
je Majo 11 2020 je 12:07 PM
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.