Can endpoints be filtered by Genre?
For example, the Now Playing (https://api.themoviedb.org/3/movie/now_playing
) or the Search Movie (https://api.themoviedb.org/3/search/movie
) endpoints return only movies by specific genre.
In this way: https://api.themoviedb.org/3/movie/now_playing?genre=animation
returns only animation movies that are Now Playing.
Thanks.
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ أكتوبر 8, 2024 في 12:53 مساءا
Using Search Movies is not possible.
In the case of Now Playing it is possible.
https://developer.themoviedb.org/reference/movie-now-playing-list
As the text on the page states, it is based on Discover.
https://developer.themoviedb.org/reference/discover-movie
Just specify the release_date values.
For example:
And you can specify one or more genre IDs, separated by commas.