دعم الموقع

Hello, I read the API at least 40 times, but it doesn´t work

https://api.themoviedb.org/3/movie?{my_key}&images/id=1948/4406KIS6HsScPFs66xOVaeQK3Nj.jpg

is there something wrong with this link?

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

Jump to last post

Yes, that is not a working API call. Are you simply trying to call the images method on movie id 1948?

https://api.themoviedb.org/3/movie/1948/images?api_key=###

Would be what you're after.

I want to get the movie through a backdrop_path string I try to put in python this image into a canvas_image tkinter element

I'm not following. Could you elaborate?

Once you have made a request for the images, you can pull out the file_path element from within the results. With that in hand, follow the instructions located in the configuration method to build a fully qualified URL.

My first Request is from these api: "https://api.themoviedb.org/3/search/movie?my_key&query=" There´s a backdrop_path': u'/4406KIS6HsScPFs66xOVaeQK3Nj.jpg within.

I´m going to use the - ---backdrop_path----- value to build a string that leads to the picture url. When I got that picture I want to put it in the python canvas image object. There´s the theory so far, I´m very new in python and got to work it out.

while zaehler > 1:
z += 1 zaehler -= 1 label["label%d" % z] = Label(text = "Titel") entry["entry%d" % z] = Entry() canvas = Canvas(width=100, height=100) canvas.create_text(70,30,text = "test") #canvas.create_image(80,30,image = self.image_string + THE STRING I WANT TO USE) canvas.pack()

Ah, I have no idea about Python or Canvas. Sorry.

Hello Travisbell,

I mean I need the full path to the images itself to request the image I think that´s my Question

Did you read through the configuration method like I mentioned? It explains how you generate a fully qualified URL.

Now I see, thank you! The word configuration was confusing me, because in php configuration means always system or application data configurations

I have the same problem but the page that was the solution to Northstar's problem has depreciated. My problem is that I want a direct link to the poster from either a query or an id both are fine but i am not able to get that. My question is what to do with the file path that I receive what should I put in front of the file path so that I get a direct image link. The code is in python by the way

{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false} I am getting this error when i use this link: https://api.themoviedb.org/3/search/movie?query=ready+player+one&page=1&language=en-US&api_key=api_key_here/poster_path-here.jpg

i already have a program running on this API so i know the API is running

@panthermail said:

https://api.themoviedb.org/3/search/movie?query=ready+player+one&page=1&language=en-US&api_key=api_key_here/poster_path-here.jpg

That's not a valid request. You're appending the poster path to your API key.

https://api.themoviedb.org/3/search/movie?query=ready+player+one&page=1&language=en-US&api_key=api_key_here

Is a valid search query.

If you want to get images, read the docs for the details: https://developer.themoviedb.org/docs/image-basics

Thank you soooo much this is exactly what i was looking for and i had no idea tmdb had any other documentation than the tmdb api reference

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

عام

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

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

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

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

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

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

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

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

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

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

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

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

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

الاعدادات

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

تسجيل الدخول