The Movie Database-støtte

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 svar (på side 1 av 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.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p åpne profilmenyen
esc lukk et åpent vindu
? open keyboard shortcut window

On media pages

b gå tilbake (eller til foreldresiden når mulig)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Innstillinger

Vil du vurdere eller legge til dette elementet i en liste?

Logg inn