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.