دعم الموقع

For the below query the Include_video parameter is always returning false even if I set it to True?

https://api.themoviedb.org/3/discover/movie?api_key=&language=en-US&sort_by=popularity.desc&include_adult=false&include_video=true&page=1&primary_release_date.lte=2018&year=2018

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

Jump to last post

Hi @conan1,

include_video is a filter on the video attribute and doesn't have anything to do with returning custom fields. You can read about what entries classified as videos are here: https://www.themoviedb.org/bible/movie#59f73b759251416e71000005

Thanks @travisbell

Could you recommend me the best way to pull video attribute from an output of /movie/latest call? I noticed there is /movie/{movie_id}/videos but this will only give me one video id for every one movie request

Yes, unfortunately that's the only way to do it. There's no way to query video information from anywhere other than the /videos method. You will have to iterate over the ids to get the video information. Keep in mind you can use append_to_response:

https://api.themoviedb.org/3/movie/550?api_key=###&append_to_response=videos

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول