Dear Sir/Madam
Can I filter or search movie by genre? I want to search movie by genre while client easy to find more than search other.
Nie mo偶esz znale藕膰 filmu lub serialu? Zaloguj si臋, aby go utworzy膰.
Want to rate or add this item to a list?
Not a member?
Odpowied藕 u偶ytkownika ticao2 馃嚙馃嚪 pt-BR
14 marca 2019 o godz. 12:50PM
Yes, it is possible.
First you need to know what the Gender IDs are.
They will be used as a filter or parameter in the search.
https://developers.themoviedb.org/3/genres/get-movie-list
https://api.themoviedb.org/3/genre/movie/list?api_key=[MY_KEY]&language=en-US
Second, use the Filter or Genre parameter in your Request.
https://developers.themoviedb.org/3/discover/movie-discover
For example, using Action (28) and Adventure (12) and Crime (80).
https://api.themoviedb.org/3/discover/movie?api_key=[MY_KEY]&language=en-US&page=1&primary_release_year=2019&with_genres=28,12,80