Soporte 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 respuestas (en la página 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 encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión