תמיכת The Movie Database

Hello, I am playing with the get images for movies and I can't seem to pull any data with "https://api.themoviedb.org/3/movie/299534/images?api_key=MYKEY&language=en-US". This is for Avengers Endgame and I see on the site they have 30 posters. I did not seem to get any errors in the response just the below empty JSON. Did I get the id wrong?
https://developers.themoviedb.org/3/movies/get-movie-images

{
  "id": 299534,
  "backdrops": [

  ],
  "posters": [

  ]
}

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

Jump to last post

The link page you've placed, get-movie-images, contains the instructions:

Querying images with a language parameter will filter the results.
If you want to include a fallback language (especially useful for backdrops) you can use the include_image_language parameter.
This should be a comma seperated value like so: include_image_language=en,null

You need to use Parameter &include_image_language. For example:
https://api.themoviedb.org/3/movie/299534/images?api_key=[MY_KEY]&language=en-US&include_image_language=en,null

If you do not use Parameter &include_image_language, then the &language Parameter can not contain reference to Country.
You can not use en-US (language-COUNTRY). Must only use en (language). For example:
https://api.themoviedb.org/3/movie/299534/images?api_key=[MYKEY]&language=en

Oh, OK. Thank you!!!! that did it.

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

עולמי

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

בדפי מדיה

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

בדפי עונות

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

בדפי סדרות

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

בכל דפי תמונה

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

בכל דפי עריכה

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

בדפי דיון

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

הגדרות

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

היכנס