Suporte do The Movie Database

Hi, I want get the genre of a serie just with the genre ids. how can i do ?

3 respostas (na página 1 de 1)

Jump to last post

Hi @XPheNiiXz Do you mean you want to search for TV series based on a list of genres? If so, you can use the /discover/tv method and the with_genres filter.

https://api.themoviedb.org/3/discover/tv?api_key=###&with_genres=35

For example.

Hi @travisbell I don't want to search tv series based on a list. But i want to get the genre of a serie when i do a search.

For example, i search the malcolm serie and i want see the name, the date, the description AND the genre of the serie. I want to get the genre of the serie just with the id 35 (for comedy).

Thanks you

Ah, gotcha, in that case you can grab the list of genres from the genre list method and map them that way. Usually you would just cache that locally within your app so you don't have to make a call to it all the time.

Cheers.

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