Case Filter with: release_date_gte: 2020-01-01 release_date_lte: 2024-12-31 with_watch_provider: 8|9|10 sort_by: vote_count.desc
Expected: Only film in the range of date sorted with vote_count_desc
Effective Output: FIlm sorted with vote_count_desc before release_date_gte
It's my fault?
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 Travis Bell
on March 18, 2024 at 6:33 PM
Hi @sourheart,
First off, the filters are
release_date.gte
andrelease_date.lte
.And if you're using these filters, you'll want to make sure to use a
region
filter as well, unless you're meaning to query all release dates worldwide. If that's not what you want, I would suggest switching toprimary_release_date.gte
and/orprimary_release_date.lte
.But more importantly, I'll need to see the full HTTP request you're making before I can tell you anything for certain.
Reply by sourheart
on March 18, 2024 at 6:46 PM
Hi @travisbell
This is the curl
As you can see the first result is:
Reply by Travis Bell
on March 18, 2024 at 6:56 PM
Right, you have
sort_by=primary_release_date.asc
but are filtering byrelease_date.xxx
. As I mentioned above, you should change that.Reply by sourheart
on March 18, 2024 at 7:04 PM
Ok, perfect with this change it works, thanks!
A little feedback: I've seen a bit of the movie API for the "recommended" feature, it would be even more useful if you could also select the
primary_release_date
range there too