Soporte de The Movie Database

Hi everyone!!

I'm trying to get all movies from some years, for example movies from 2014. I'm calling the API with the option discover and parameter year: 2014 but I'm getting movies from 20th century.

I already know that I have an option to get movies by release year, but i would like to know if it is possible to know how does year parameter work and which is the difference between year, primary_release_year and release_date.

Thank you very much!!

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

Jump to last post

Using the year filter looks at all of the release dates added to a movie so you're including all countries and types. So yes, you will no doubt be getting some data back for things like physical or digital releases in 2014 when in fact the movies was released in the 80's.

You should use the primary_release_year filter to only look at the primary release dates. You can of course also use the with_release_type filter to narrow results to only theatrical data for instance.

Ok! Thank you very much Travis! It is what I thought, I'll use primary_release_year then!

¿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