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 στις 06:33 ΜΜ
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 στις 06:46 ΜΜ
Hi @travisbell
This is the curl
As you can see the first result is:
Απάντηση από τον/την Travis Bell
στις 18 Μάρτιος 2024 στις 06:56 ΜΜ
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 στις 07:04 ΜΜ
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