The Movie Database Support Forum

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 Antworten (Seite 1 von 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 :)

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden