תמיכת The Movie Database

When I use the movie/id url (http://api.themoviedb.org/3/movie/id) I am given the poster path like so "/2lECpi35Hnbpa4y46JX0aY3AWTy.jpg". I am wondering what the base url is, and/or what the whole url I would use to get the image. Thanks

Here is what i'm given from my url (http://api.themoviedb.org/3/movie/275?api_key={APIKEY})

2 תגובות (בדף 1 מתוך 1)

Jump to last post

Hi ntfalcone93,

You can read about how to build image URLs here: http://docs.themoviedb.apiary.io/#reference/configuration

Cheers.

Hi you have to use the configuration request (look at the above answer by @ntfalcone93) to get the base_url of the image. You also need to specify which size format you need it. They are in the image dictionary provided in the JSON response for the configuration. This is the configuration request link I used: https://api.themoviedb.org/3/configuration?api_key=MYAPIKEY

this is what my image url looks like: https://image.tmdb.org/t/p/ (The base url) w300/ (the size param) w93GAiq860UjmgR6tU9h2T24vaV.jpg (image link). Obviously without the spaces and the brackets:)

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס