The Movie Database Support

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

3 replies (on page 1 of 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.

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

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

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

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

Settings

Want to rate or add this item to a list?

Login