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
+).
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ مايو 11, 2020 في 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.