Suport de The Movie Database

Doing an api call like:

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THEAPIKEY&language=en-US&append_to_response=images

always seems to return an empty array of posters.
I've tried a few different tv series and all of them seem to have the same behavior.
It looks like the /tv/{tv_id}/season/{season_number} responds the same, also returning an empty list of posters.

Am I doing something wrong here, or is fetching season images currently broken?

2 resposta (a les p脿gines 1 de 1)

Jump to last post

I just tested it.
It seems to me that all the images came.

Your API Request is this:

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THEAPIKEY&language=en-US&append_to_response=images

Mine is this

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THE_KEY&language=en-US&append_to_response=images

EDIT
OK. Understand.
In fact, it does not return the images.
I do not know why.
Let's wait for Travis Bell to come by and tell us what the problem is.


EDIT 2
Apparently if you do not specify language-REGION the images will return.

https://api.themoviedb.org/3/tv/71912/season/1/images?api_key=THE_KEY  
https://api.themoviedb.org/3/tv/71912/season/1?api_key=THE_KEY&append_to_response=images

EDIT 3
If you want to keep the language-REGION specification, then you need to specify the language of the images you want using the parameter &include_image_language =

https://api.themoviedb.org/3/tv/71912/season/1?api_key=THE_KEY&language=en-US&append_to_response=images&include_image_language=en,pt,hu,null  

More information about this parameter, read here:
https://developers.themoviedb.org/3/getting-started/image-languages

Yes, the solution is to add include_image_language:

https://api.themoviedb.org/3/tv/71912/season/1?api_key=###&language=en-US&append_to_response=images&include_image_language=en,null

If you wanted the images that haven't been tagged, and those tagged as English. This is all outlined in the docs here.

No trobeu una pel路l铆cula o una s猫rie? Inicieu la sessi贸 per a crear-la.

Global

s centra la barra de cerca
p obre el men煤 del perfil
esc tanca una finestra oberta
? obre la finestra de dreceres de teclat

A les p脿gines de materials

b torna enrere (o la superior quan sigui aplicable)
e ves a la p脿gina d'edici贸

A les p脿gines de temporades

(fletxa dreta) ves a la temporada seg眉ent
(fletxa esquerra) ves a la temporada anterior

A les p脿gines d'episodis

(fletxa dreta) ves a l'episodi seg眉ent
(fletxa esquerra) ves a l'episodi anterior

A totes les p脿gines d'imatges

a obre la finestra d'afegir imatges

A totes les p脿gines d'edici贸

t obre el selector de traducci贸
ctrl+ s envia el formulari

A les p脿gines de debat

n crea un debat nou
w canvia l'estat de visualitzaci贸
p canvia p煤blic/privat
c tanca o obre
a obre activitat
r resposta al debat
l ves a la darrera resposta
ctrl+ enter envieu el vostre missatge
(fletxa dreta) p脿gina seg眉ent
(fletxa esquerra) p脿gina anterior

Configuracions

Desitgeu valorar o afegir aquest element a una llista?

Inicieu la sessi贸