Suporte do The Movie Database

I want to add the year a movie was released to my webhook query due to some movies pulling tv series instead (i.e. 21 Jump Street (2012) instead of 21 Jump Street series).
This is my current webhook.
https://api.themoviedb.org/3/search/movie.
I tried to add &include_year at the end but that isn't working.
In addition, I am using Notion to enter the name followed by ; (i.e. 21 jump street;) which prompts it to launch the subhook.
Would I also submit it as name, year; (i.e. 21 jump street, 2012;)?
Thanks for any assistance.

4 respostas (na página 1 de 1)

Jump to last post

As indicated in the API documentation, the date should be entered in the form &primary_release_year=year

Thanks. For the way my Notion database is setup, I had to use 'https://api.themoviedb.org/3/search/movie?&year=?'. I then entered '21 jump street[2012m;' and it worked to pull the movie info instead of the tv series info.

@lambdaomega555 said:

Thanks. For the way my Notion database is setup, I had to use 'https://api.themoviedb.org/3/search/movie?&year=?'.

You need to use &primary_release_year instead of &year . If you use &year, it will take in account all the release dates listed for each movie and not only the original release.

Note : I suppose that you have api_key=key between the "?" and the "&".

I then entered '21 jump street[2012m;' and it worked to pull the movie info instead of the tv series info.

Using https://api.themoviedb.org/3/search/movie, you will always get informations about a movie and never a series

For Movies

https://api.themoviedb.org/3/search/movie?query=21+Jump+Street&language=en-US&primary_release_year=2012
https://api.themoviedb.org/3/search/movie?api_key=THE_KEY&query=21+Jump+Street&language=en-US&primary_release_year=2012

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