دعم الموقع

I am trying to make an API call to get a single movies details, for example:

 https://api.themoviedb.org/3/movie/442249?api_key=[MY_KEY] 

then I noticed it did not include what the movie certification was for that one particular movie.

I read how to make a call for that information here: https://developers.themoviedb.org/3/movies/get-movie-release-dates

So I have two questions...

(1) In a single call for only the release_dates
If I was going to make an additional call to get this movies certification information, by running this:

https://api.themoviedb.org/3/movie/442249/release_dates?api_key=[MY_KEY]

Is there a way to get only the information for "iso_3166_1": "US" , without having all other language objects showing in this call by appending something to the URL?

(2) In a single call for only the movie details with appended release_dates
How would I be able to make a single API call, like this:

https://api.themoviedb.org/3/movie/442249?api_key=[MY_KEY]&append_to_response=release_dates

but have only the information for iso_3166_1: "US" appended ?

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

Jump to last post

Hi there,

Option #2 is your best bet, but no, there is no way to query just the US releases. Since /release_dates is an array, and movies can have more than one release per country, you'll have to iterate over the results looking for the specific release type that you want anyways. Best thing to do is have your own logic looking for the release dates (and types) you want.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول