پشتیبانی پایگاه داده‌ فیلم

Hey Team,
Was wondering if we can filter movies by their release dates on the streaming platforms.
Any help/direction to achieve this would be greatly appreciated.

2 پاسخ (در صفحه 1 از 1)

Jump to last post

@riyazrmk4 said:
OTT release date availability in Discover API
Hey Team,
Was wondering if we can filter movies by their release dates on the streaming platforms.
Any help/direction to achieve this would be greatly appreciated.

The solution is on the Discover instructions page. https://developer.themoviedb.org/reference/discover-movie

Advanced Filtering
If you specify the region parameter, the regional release date will be used instead of the primary release date. The date returned will be the first date based on your query (ie. if a with_release_type is specified). It's important to note the order of the release types that are used. Specifying 2|3 would return the limited theatrical release date as opposed to 3|2 which would return the theatrical date.

I believe that using the filters should partially solve your problem.
region
with_release_type
In this case, using 4 Digital

MOVIES - Release Type

ID  Release Type
1   Premiere
2   Theatrical (limited)
3   Theatrical
4   Digital
5   Physical
6   TV

In Discover API use &with_release_type
Source:
DOCs https://developer.themoviedb.org/docs/region-support
Trello https://trello.com/c/bpPVVwUr/69-support-and-queries-on-withreleasetype
Bible https://www.themoviedb.org/bible/movie/59f3b16d9251414f20000009#59f73d3c9251416e71000013

Hey Ticao, Thanks so much for your response. Really appreate it. And Apologize for the late reply from my side. I checked your suggestion, I was able to get desired result by combining the following:

  1. primary_release_date.gte
  2. release_date.gte
  3. with_release_type
  4. with_watch_providers

Thanks so much again for the response!

فیلم و نمایش تلویزیونی را نمی‌توانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.

Global

s تمرکز بر منوی جستجو
p منوی پروفایل باز شود
esc بستن پنجره باز
? پنجره میانبرهای صفحه‌کلید باز شود

در صفحات مدیا

b بازگشت به عقب (یا در صورت لزوم به منشا)
e برو به صفحه ویرایش

در صفحات فصل تلویزیونی

(فلش سمت راست) برو به فصل بعد
(پیکان سمت چپ) برو به نشست قبلی

در صفحات قسمت تلویزیونی

(فلش سمت راست) برو به قسمت بعد
(پیکان سمت چپ) برو به قسمت قبلی

در تمام صفحات تصویر

a پنجره افزودن تصویر باز شود

در تمام صفحات ویرایش

t انتخابگر ترجمه باز شود
ctrl+ s ثبت از

در صفحات بحث

n ایجاد بحث جدید
w تغییر وضعیت وضعیت تماشا
p تغییر وضعیت عمومی/خصوصی
c تغییر وضعیت بسته/باز
a گشایش صفحه فعالیت
r پاسخ به بحث
l برو به آخرین پاسخ
ctrl+ enter پیام خود را ثبت کنید
(فلش سمت راست) صفحه بعد
(پیکان سمت چپ) صفحه قبلی

تنظیمات

آیا می‌خواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟

ورود