Hi, I want get the genre of a serie just with the genre ids. how can i do ?
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 15 décembre 2016 à 10h17
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.For example.
Réponse de XPheNiiXz
le 15 décembre 2016 à 11h24
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
Réponse de Travis Bell
le 15 décembre 2016 à 11h32
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.