دعم الموقع

In discover Api's: /discover/movie,

  1. which parameter I can use for the service filter? You are using with_ott_providers for the service filter so Can I use the same for this? I didn't see this key in this API.
  2. where we can find a service ID?
  3. what is the meaning of with_watch_providers? where do I find the provider ID?

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

Jump to last post

@ektabhardwaj said:
Discover Api
In discover Api's: /discover/movie,

  1. which parameter I can use for the service filter? You are using with_ott_providers for the service filter so Can I use the same for this? I didn't see this key in this API.
  2. where we can find a service ID?
  3. what is the meaning of with_watch_providers? where do I find the provider ID?

I'm not sure I understand you correctly, but...

Movie or TV
https://developers.themoviedb.org/3/discover/movie-discover
https://developers.themoviedb.org/3/discover/tv-discover

with_watch_providers - string
A comma or pipe separated list of watch provider ID's.
Combine this filter with watch_region in order to filter your results by a specific watch provider in a specific region.
optional

watch_region - string
An ISO 3166-1 code.
Combine this filter with with_watch_providers in order to filter your results by a specific watch provider in a specific region.
optional

with_watch_monetization_types - string
In combination with watch_region, you can filter by monetization type.
Allowed Values: flatrate, free, ads, rent, buy
optional

Providers IDs
Movie : https://developers.themoviedb.org/3/watch-providers/get-movie-providers
TV : https://developers.themoviedb.org/3/watch-providers/get-tv-providers

Regions iso_3166_1 : https://developers.themoviedb.org/3/watch-providers/get-available-regions

Thank you for your response.

Again I tried to explain my problem,

On TMDB, I go to the Popular Movie option then I used some filters like released from date =2021-08-01, released to date = 2021-09-01, provider= netflix, region= US. I got some results which are ok. when I check API on the network tab, I can see you used 'with_ott_providers' for providers so I also try your API through Postman.

This is the API which I tested on postman:

https://api.themoviedb.org/3/discover/movie?api_key=*********&language=en-US&sort_by=popularity.desc&air_date.lte=2022-01-23&ott_region=US&page=1&release_date.gte=2021-08-01&release_date.lte=2021-09-01&with_ott_providers=8

I got the same result from this API also.

But you do not mention the 'with_ott_providers' key option in the discover/movie-discover API documentation.

After your reply I tried this option also: https://api.themoviedb.org/3/discover/movie?api_key=*******&language=en-US&sort_by=popularity.desc&page=1&release_date.gte=2021-08-01&release_date.lte=2021-09-01&with_watch_providers=8&watch_region=ISO 3166-1

still, I have not received the same result which I see on the website with filters.

Can you please tell me what am I doing wrong?

I think only Travis Bell, the administrator, can answer your question.
Let's wait for him to come by.


EDIT
I tested the two Requests you posted.
The result was the same for both.
What I changed in the one that didn't work for you was from ISO 3166-1 to US

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&sort_by=popularity.desc&air_date.lte=2022-01-23&ott_region=US&release_date.gte=2021-08-01&release_date.lte=2021-09-01&with_ott_providers=8
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&sort_by=popularity.desc&release_date.gte=2021-08-01&release_date.lte=2021-09-01&with_watch_providers=8&watch_region=US

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول