اختصارات لوحة المفاتيح
البحث المتقدم
Is there a way to retrieve all actors in a specific movie? I am struggling to figure it out with the API documentation.
Hi @zgall1, you will want to use the movie credits endpoint. It returns two arrays, cast and crew. For actors you would want the cast array.
You can call it by itself, or you can append it to the movie details with append_to_response:
https://api.themoviedb.org/3/movie/{movie_id}/credits https://api.themoviedb.org/3/movie/{movie_id}?append_to_response=credits
https://api.themoviedb.org/3/movie/{movie_id}/credits
https://api.themoviedb.org/3/movie/{movie_id}?append_to_response=credits
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
تسجيل الدخول
التسجيل
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
سجل و انضم الى المجتمع
رد بواسطة robbie3999
بتاريخ أغسطس 5, 2023 في 7:06 مساءا
Hi @zgall1, you will want to use the movie credits endpoint. It returns two arrays, cast and crew. For actors you would want the cast array.
You can call it by itself, or you can append it to the movie details with append_to_response: