دعم الموقع

Hi, When I search http://api.themoviedb.org/3/search/movie?api_key=[My-KEY]&query=Indiana+Jones I get so many results but I am just interested in only the below four i.e only the Sequels

Raiders of the Lost Ark (1981) Indiana Jones and the Temple of Doom (1984) Indiana Jones and the Last Crusade (1989) Indiana Jones and the Kingdom of the Crystal Skull (2008)

Is there any way to specify in API call to bring back only the Sequels ?

Thanks Hari

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

Jump to last post

Hi @harirao Not really with search. Once you have one of the proper films though, you can call the movie details method and simply look at the belongs_to_collection field. It will link to the collection id and you can then call the collection details method to get all of the parts.

Thanks for your reply @travisbell

How will I know the proper films programmatically?

Eg as soon I search for Indiana Jones I get a huge list and programmatically I might think "The Adventures of Young Indiana Jones: Demons of Deception" is one of the proper films and go ahead with movie details method and then collection details method but that is not correct?

How will I know the proper films programmatically?

Unfortunately, you can't from just a "list" method (search, discover, find, etc...) You have to make the sub-request to get these details right now.

Are you building a system that has a local cache, or trying to expose this right on a UI? If it's the former, you can build your own cache and schema to accommodate your needs better. If it's the latter, there won't be much you can do I'm afraid.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول