دعم الموقع

I am trying to fire out how to use the API to get an Actors Movies and TV Shows in one call, the best would be a freebase id/mid, but i even tried with iMDB ID, yesterday it thrown always a 0 results, today i retry and it tells me : Error, contact tMDB..

maybe someone can help me how to setup the call the right way so i can see the Actors Movies and his TV Shows:

Currently i ma here:

http://api.themoviedb.org/3/find/?query=nm1046097&api_key=myKEY&language=de&external_source=imdb_id

Thx for help

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

Jump to last post

Hi atoxx,

You’re almost there. This is the query you’re looking for:

https://api.themoviedb.org/3/find/nm1046097?api_key=###&external_source=imdb_id

This query won’t show the persons credits though, so once you have the id (53714 in this case) call:

https://api.themoviedb.org/3/person/53714/combined_credits?api_key=###

Or, if you’d like the person details together with their credits:

https://api.themoviedb.org/3/person/53714?api_key=###&append_to_response=combined_credits

Cheers.

Thx a lot, it worked so far, but:

first, what i have:

$.getJSON("https://api.themoviedb.org/3/find/nm1046097?api_key=###&external_source=imdb_id", function(data){ var id = data.person_results[0].id; $.getJSON("https://api.themoviedb.org/3/person/" + id + "/combined_credits?api_key=###&language=de&append_to_response=images,rating", function (result){
console.log(result); }) })

I took your urls and added so i get the poster__path into response, BUT how can i tell the API in this case, i get the response in German and append Ratings?

The Response contains also just movies, is there a way to get TV SHOWS OR WILL THEY BE ADDED IF THERE ARE ANY AUTOMATICALLY?

THX AGAIN FOR HELP

So after playing around with the response, i saw, TV shows are there, under "crew", german Titles are also there,

the only thing i would like to get is Movie ratings appended to the Response if possible and mostly SORT Movies by Release Date Descending, so on Parsing the newest Movie is on top and not somewhere in the middle

Hey atoxx,

We don’t currently have the rating being returned in the default response. This is probably going to change in the future, there’s an open ticket about standardizing the responses here.

With regards to credit sorting, since we return all of the results and they are not paginated, we don’t do any sorting server side. This is something that can easily be achieved client side.

Cheers.

Thx for explanations, i hope the Ratings will be added soon, regarding Sorting, well,i am trying to achieve this since hours here with no luck, so easily isn't the right state...

Sorting solved, everything solved by now, btw ,

external_source:freebase_id doesn't work

needed to get the imdv ID instead

All results to the next question or request, GENRES

i tried with append to response genre, but this didn't work, is this the right command or does this not exist?

thx for an answer

Freebase ID’s aren’t that well filled out, Freebase MID’s are better but it’s also worth mentioning that only TV shows, seasons and episodes are currently supported for Freebase. Movies do not have any at this time.

https://api.themoviedb.org/3/find/en/game_of_thrones?api_key=###&external_source=freebase_id

https://api.themoviedb.org/3/find/m/0524b41?api_key=###&external_source=freebase_mid

Genres are only returned in the full item response:

https://api.themoviedb.org/3/tv/1399?api_key=###

Cheers.

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول