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?
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Travis Bell
на 18 март 2024 в 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.
Отговор от sourheart
на 18 март 2024 в 6:46 PM
Hi @travisbell
This is the curl
As you can see the first result is:
Отговор от Travis Bell
на 18 март 2024 в 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.Отговор от sourheart
на 18 март 2024 в 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