دعم الموقع

Hey there, Is it possible to get all the top rated movies of an actor based on his ID?

thanks

5 ردود (على هذه الصفحة 1 من 1)

Jump to last post

correct me if am wrong, we can use the filters in movie discovery to achieve it. https://developers.themoviedb.org/3/discover/movie-discover

Hi @codenametyler,

Yes, you can use /discover. You'll want to look at using the with_people filter. Looking at Brad Pitt as an example:

https://api.themoviedb.org/3/discover/movie?api_key=###&with_people=287&sort_by=vote_average.desc

Hello @travisbell ,

that exactly what i did, with an autocomplete to get the peopleID. XD

Cheers

This works similary for "with_people" and for "with_keywords" - in both case you must use the numerical ID of the person/keyword. This is true even though the API reference for Discover->Movie, for example, states that these values are strings. I tried with_keywords using both words (such as "Batman") and out of range numbers (such as "2"), but the first page of roughly 832,000 results were returned. Only when using a valid keyword ID (such as 4344 for "musical") will this work.

The docs state strings because values like "9663|9748" and "9663,9748" are valid in order to issue an OR or AND query.

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول