The Movie Database support

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

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

Kan du ikke finde en film eller TV-serie? Log in og opret den.

Global

s focus the search bar
p open profile menu
esc luk et åbent vindue
? open keyboard shortcut window

På mediesider

b go back (or to parent when applicable)
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

På alle billedesider

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

På diskussionssider

n opret ny diskussion
w toggle watching status
p toggle public/private
c toggle close/open
a åben aktivitet
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Indstillinger

Want to rate or add this item to a list?

Log ind