دعم الموقع

Taken directly from here: https://www.themoviedb.org/documentation/api/discover

Query:

/discover/movie?certification_country=US&certification.lte=G&sort_by=popularity.desc

For example - this returns Gun Shy: https://www.themoviedb.org/movie/430682-salty -or- https://www.themoviedb.org/movie/446173-ex-libris-new-york-public-library

Is NR rated lower than G? Any solution to this?

EDIT

Using the discover tool on: https://developers.themoviedb.org/3/discover

I put together this query which i would think would only show PG / G movies - but from the results - Annabelle: Creation shows up.

https://api.themoviedb.org/3/discover/movie?api_key=[api key]&language=en-US&region=US&sort_by=popularity.desc&certification_country=US&certification=G%2CPG&include_adult=false&include_video=false&page=1

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

Jump to last post

There's a few things going wrong here. First, there's no certification on the U.S. theatrical release. You can see that here. I just added the R rating so that is now correct.

Second, it doesn't look like certification supports the pipe or comma separated values right now. It's a one value at a time query. You could change your query to this which will get you 90% the way there:

https://api.themoviedb.org/3/discover/movie?api_key=###&language=en-US&region=US&sort_by=popularity.desc&certification_country=US&certification.lte=PG&include_adult=false&include_video=false&page=1

For the US, certification.lte=PG will include PG, G and NR.

But in order for you to do explicit certification filtering, I need to add support for the pipe and comma notation to certification.

For the US, certification.lte=PG will include PG, G and NR.

or make NR not come back unless specified :D If you specifying a rating, you probably don't want unrated films anyway.

Thanks for the Query - i'll see what i can do to use it.

PS: Awesome site, love it.

I think the best way to get what you want would be to add AND and OR support to the certification filter. That's the best way to solve it.

Edit actually, completing this ticket would solve it too. This is the better way.

PS: Awesome site, love it.

Thanks!

That sounds stupendous! Should I just keep an eye on the discover API page for the change or bookmark the ticket and check it every now and again ?

I've updated the ticket with a link to this post, I'll update this post once it's done.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول