Soporte de The Movie Database

Hi,

I have a little problem. So the region parameter is awesome ! So I use request like https://api.themoviedb.org/3/movie/upcoming?api_key=???&language=de&page=1&region=de and get the movies that are upcoming in Germany. The list seems to have the right data. However it knows that some movies are upcoming in Germany, but on the other side it gives me release dates that are in the past, even with the region parameter.

5 respuestas (en la página 1 de 1)

Jump to last post

Region is case sensitive, you'll want to use this:

https://api.themoviedb.org/3/movie/upcoming?api_key=###&language=de&page=1&region=DE

You'll see the release_date values update with the proper uppercase parameter.

Cheers.

Ah ok I see, thank you :) Region is not possible for the movie details, right ? So this https://api.themoviedb.org/3/movie/331313?api_key=###&language=de&region=DE still returns the US region release date.

Correct but that's because it's trivial to call /release_dates with append_to_response. You can then filter the data locally however you like.

https://api.themoviedb.org/3/movie/331313?api_key=###&language=de&append_to_response=release_dates

Cheers.

Its now working :) Thanks a lot for your support and this great api ! :)

Happy to hear that! Thanks!

¿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 debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
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