I was hoping there was going to be some documentation I could find on this. I want my users to able to search by genre type and it is hard to pick out genre types if they aren't listed. For example: genre ID: 1 would relate to Action movies, Genre ID: 2 would relate to Comedy movies. Can anyone point me in the right direction to find this out?
Nem találsz egy filmet vagy egy sorozatot? Jelentkezz be és hozd létre.
Want to rate or add this item to a list?
Még nem tag?
ticao2 🇧🇷 pt-BR válaszolt
Beküldve: 2019. október 23. 08:58
See here:
Genre IDs
Movies
https://developers.themoviedb.org/3/genres/get-movie-list
https://api.themoviedb.org/3/genre/movie/list?api_key=[MY_KEY]&language=en-US
TV Show
https://developers.themoviedb.org/3/genres/get-tv-list
https://api.themoviedb.org/3/genre/tv/list?api_key=[MY_KEY]&language=en-US
legend5123 válaszolt
Beküldve: 2019. október 23. 13:01
Thank you for your help!
MrRobot1413 válaszolt
Beküldve: 2021. április 22. 02:09
looks like it's been changed
{"genres":[{"id":28,"name":"Action"},
{"id":12,"name":"Adventure"},
{"id":16,"name":"Animation"},
{"id":35,"name":"Comedy"},
{"id":80,"name":"Crime"},
{"id":99,"name":"Documentary"},
{"id":18,"name":"Drama"},
{"id":10751,"name":"Family"},
{"id":14,"name":"Fantasy"},
{"id":36,"name":"History"},
{"id":27,"name":"Horror"},
{"id":10402,"name":"Music"},
{"id":9648,"name":"Mystery"},
{"id":10749,"name":"Romance"},
{"id":878,"name":"Science Fiction"},
{"id":10770,"name":"TV Movie"},
{"id":53,"name":"Thriller"},
{"id":10752,"name":"War"},
{"id":37,"name":"Western"}]}
superboy97 válaszolt
Beküldve: 2021. április 22. 03:40
Where do you see a change ? This is the exact same genre list for movies.
visux válaszolt
Beküldve: 2022. május 21. 09:21
thanks, this will serve me well
PT 100 válaszolt
Beküldve: 2022. május 21. 23:39
FYI, I think you misspelled "genre" above.
ticao2 🇧🇷 pt-BR válaszolt
Beküldve: 2022. május 22. 08:25
I didn't translate. Google did the translation. :-)
And keep translating like this.
pt Gênero = en Gender
But I agree, it must be wrong.
I will correct. Thanks