Axuda de The Movie Database

I was wondering how to get a list of movies that were released within a certain year. Generally I am looking for a way to store this data using Python, but I have no clue on how to do it. Any help or suggestions would be appreciated.

2 respostas (na páxina 1 de 1)

Jump to last post

Hi dmarti98,

While I can't offer much help when it comes to Python, from the API side of things you can do this a few different ways with the /discover/movie method. You can use any combination of the primary_release_year, primary_release_date.gte, primary_release_date.lte, release_date.gte, release_date.lte and year params.

https://api.themoviedb.org/3/discover/movie?api_key=###&primary_release_date.gte=2006-01-01&primary_release_date.lte=2006-12-31

Cheers.

That's what I wanted! I had troubles making the URL for the API search. Thanks for the help :)

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión