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.
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
ticao2 🇧🇷 pt-BR님의 댓글
10월 8, 2024 at 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.