The Movie Database podpora

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 odpoveď (na strane 1 z 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.

Nemôžeš nájsť film alebo seriál? Prihlás sa a pridaj ho.

Globálne

s zamerať sa na vyhľadávací riadok
p otvoriť menu profilu
esc zatvoriť otvorené okno
? otvoriť okno klávesových skratiek

Na média stránkach

b ísť späť (do rodičovského pokiaľ možno)
e íst na stránku úprav

Na stránkach seriálových serií

(pravá šípka) ísť na nasledujúcu sériu
(ľavá šípka) ísť na predchádzajúcu sériu

Na stránkach seriálových epizód

(pravá šípka) ísť na nasledujúcu epizódu
(ľavá šipka) isť na predchádzajúcu epizódu

Na všetkých obrázkových strankach

a otvoriť okno pre pridanie obrázku

Na všetkých stránkach úprav

t otvoriť výber prekladu
ctrl+ s odoslať formulár

Na stránkach diskusií

n vytvoriť novú diskusiu
w prepínač stavu pozerania
p prepínač verejný/súkromný
c prepínač zatvorený/otvorený
a otvoriť aktivitu
r odpovedať v diskusií
l ísť na poslednú odpoveď
ctrl+ enter odoslať vašu správu
(pravá šípka) nasledujúca strana
(ľavá šípka) predchádzajúca strana

Nastavenia

Chcete ohodnotiť alebo pridať túto položku do zoznamu?

Prihlásiť sa