دعم الموقع

Hello everyone 👋,

I know there is the Movie endpoint /upcoming and /now_playing but those return lists of EVERYTHING that's playing. While there's obviously a way we can ingest and parse that data to answer the question of what movies are currently in theaters or about to be, I was wondering if there's a better way to know if a specific movie (like when getting movie details by id) is in theaters. I know the two endpoints I mentioned claim to calculate movies that have release types 2 & 3 in a date range, but I honestly feel like it's (correctly) showing me movies that don't fit that range right now. Any help you can offer is appreciated!

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

Jump to last post

@SaidThat said:
Detect if a specific movie is in theaters
Hello everyone 👋,

I know there is the Movie endpoint /upcoming and /now_playing but those return lists of EVERYTHING that's playing.
While there's obviously a way we can ingest and parse that data to answer the question of what movies are currently in theaters or about to be,
I was wondering if there's a better way to know if a specific movie (like when getting movie details by id) is in theaters.
I know the two endpoints I mentioned claim to calculate movies that have release types 2 & 3 in a date range,
but I honestly feel like it's (correctly) showing me movies that don't fit that range right now.
Any help you can offer is appreciated!

Are you using the Region parameter?
Maybe it solves part of the problem.

https://api.themoviedb.org/3/movie/upcoming?api_key=THE_KEY&language=en-US&page=1&region=US  
https://api.themoviedb.org/3/movie/now_playing?api_key=THE_KEY&language=fr-FR&page=1&region=FR

You know I totally thought I did, but I wonder if I somehow had a stupid typo in my query. That definitely seems to make the date ranges at least match up, which is interesting... I guess just parsing through this data is considered the best method then?

@SaidThat said:
You know I totally thought I did, but I wonder if I somehow had a stupid typo in my query.
That definitely seems to make the date ranges at least match up, which is interesting...
I guess just parsing through this data is considered the best method then?

In the data here from TMDb I believe so.
In the case of now_playing it may not be very accurate.
We have the premiered release date but we don't have the date that ended in the cinema.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول