I am having an issue, albeit a minor one, with release date bounds during discover queries.
I ran the following queries bounding dates between 2008 and 2010:
https://api.themoviedb.org/3/discover/movie?api_key=<my_api_key>&language=en-US&sort_by=popularity.desc&include_adult=false&include_video=false&page=1&release_date.gte=2008&release_date.lte=2010&vote_average.gte=4&with_genres=35
and also with different date format to match the release_date format returned:
https://api.themoviedb.org/3/discover/movie?api_key=<my_api_key>&language=en-US&sort_by=popularity.desc&include_adult=false&include_video=false&page=1&release_date.gte=2008-01-01&release_date.lte=2010-12-31&vote_average.gte=4&with_genres=35
Both queries return Monty Python and the Holy Grail (in the 12th and 6th positions respectively) which was released on 1975-05-25. Is this a feature of fuzzy search? Because when I remove the vote_average parameters Monty Python doesn't show up in the first two pages of results. Any recommendations would be appreciated.
Thanks
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by wmcb91
on July 19, 2018 at 12:55 AM
Looks like I am blind and didn't see that I should clearly be using primary_release_date. Issue seems closed.
Reply by Travis Bell
on July 19, 2018 at 6:44 PM
@wmcb91 Yes, my first suggestion was going to be to use
primary_release_date
instead. Another option would be to useregion
with therelease_date
filters.