دعم الموقع

https://developers.themoviedb.org/3/movies/get-upcoming

in the upcoming movies api docs it states :

"Get a list of upcoming movies in theaters. This is a release type query that looks for all movies that have a release type of 2 or 3 within the specified date range."

But there is no query parameter to set the min/max dates of the results. The results have currently returned all movies with max date set to 2020-02-03 for the past 2 weeks but nothing further. I cannot get upcoming movies beyond this date anymore. Is there a parameter missing from the docs? This wasn't a problem until this month.

json always returns:

"dates": {
    "maximum": "2020-02-03",
    "minimum": "2020-01-17"
},

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

Jump to last post

Hi @lmerza,

If you'd like to build your own query, you will need to use /discover. Something like this, for example (tweak the dates as you wish):

https://api.themoviedb.org/3/discover/movie?api_key=###&region=US&release_date.gte=2020-01-17&release_date.lte=2020-02-03&with_release_type=3|2

Make sure to read through the docs for discover as there is over 25 different filters and sort options.

where in the docs are release_date.gte and release_date.lte for /movie/upcoming? Are you saying that endpoint isn't what I should use anymore? I just tried changing release_date.lte to 2020-03-03 and still only get a max of 2020-02-03

/movie/upcoming does not support customizing the release date query. I showed you how to do it with discover (which is what upcoming is using behind the scenes.)

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول