Suporte do The Movie Database

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 resposta (na página 1 de 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.

Não consegue encontrar um certo Filme ou Série? Inicie Sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em Páginas de Temporadas de Séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade