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.
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsÀtta denna artikel eller lÀgga till den i en lista?
Inte medlem?
Svar frĂ„n ticao2 đ§đ· pt-BR
den 8 oktober 2024 vid 12:53 PM
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.