دعم الموقع

Hi. I've been looking at the movie methods and trying to make sure I implement all the calls for each method.

According to the documentation, some of the movie methods can accept an "append_to_response" parameter, but they don't seem to append the responses.

e.g. http://api.themoviedb.org/3/movie/78/keywords?api_key=APIKEY&append_to_response=alternative_titles,changes,credits,images,keywords,lists,releases,reviews,similar,translations,videos

Is this a documentation error or am I missing something.

Also, could you enumerate the movie, TV and people append to response values to avoid ambiguity?

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

Jump to last post

Hi Stuart,

You won't be able to call append_to_response from a sub method. I would do the following to get what you're after:

https://api.themoviedb.org/3/movie/78?api_key=###&append_to_response=keywords,alternative_titles,changes,credits,images,keywords,lists,releases,reviews,similar,translations,videos

Also, could you enumerate the movie, TV and people append to response values to avoid ambiguity?

Could you elaborate what you mean by this? I'm not positive I understand the question :D

Cheers!

Ok, so the docs perhaps want updating, because it reads like the sub methods can have an append_to_response as a parameter, rather than, what I assume you mean, is that they can be an appended response.

What I meant by the enumerated list, is to define the list of movie, tv and people methods that can be appended to the base method. I currently have:

Movies - alternative_titles, changes, credits, images, keywords, lists, releases, reviews, similar, translations, videos

TV - alternative_titles, changes, content_ratings, credits, external_ids, images, keywords, similar, translations, videos

People - changes, combined_credits, external_ids, images, movie_credits, tagged_images, tv_credits

These just need to be listed somewhere to help people.

I, too, would like to use the append to responses to any movie method, such as the now playing request, so that I don't have to get the movie id for each movie and call separate appends. This would be faster and take fewer requests to your server. Also, if I use the separate requiests it puts me over the 40 limit and it could be avoided. Thanks!

We do not have plans to support an append_to_response type option for our featured list pages, only top level media objects.

It should be noted that we did add 3 new fields to our featured list pages which could help. The genre_ids, original_language and overview are now part of these media object responses.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول