The Movie Database-ondersteuning

Hey Guys -

I'm trying to script something for my home theater and it would require referencing a text-based list as a source of all movies in the Horror genre which is updated daily. I read that it's seemingly possible to also grab the IMDB scores "using the find method" which would also be great yet isn't required. The only fields I'd need in the file are the movie's title, original title (if available), year, and optionally the current rating.

Hoping this would be relatively simple, I looked through the API documentation and tried a few things without luck so far. I did see the json files which are updated daily and was hoping I could download then apply a filter to them, but it doesn't seem to contain genre information.

Any suggestions on how to do this? I'd prefer a method compatible with Windows like Python and am playing with some of the wrappers right now, but Linux would be work if needed. Thanks!!

1 antwoord (op pagina 1 van 1)

Jump to last post

Hi @bzowk,

I read that it's seemingly possible to also grab the IMDB scores "using the find method"

We do not have any IMDb rating data. The only piece of IMDb data we have is the IMDb ID. That's it. You can use the find methods to find media items with external ID's like IMDb.

Any suggestions on how to do this? I'd prefer a method compatible with Windows like Python and am playing with some of the wrappers right now, but Linux would be work if needed. Thanks!!

You can get a list of horror movies by using the /discover/movie method and with_genres filter. Something like this for example:

https://api.themoviedb.org/3/discover/movie?api_key=###&with_genres=27

There's lots of different filters you can use as part of discover, so make sure to take a look at the documentation.

Film of tv-serie niet gevonden? Log dan in om deze te creëren.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op TV seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met TV-programma's

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c gesloten of open
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen