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?
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Travis Bell
il 18 marzo, 2024 alle 6:33PM
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.
Risposta da sourheart
il 18 marzo, 2024 alle 6:46PM
Hi @travisbell
This is the curl
As you can see the first result is:
Risposta da Travis Bell
il 18 marzo, 2024 alle 6:56PM
Right, you have
sort_by=primary_release_date.asc
but are filtering byrelease_date.xxx
. As I mentioned above, you should change that.Risposta da sourheart
il 18 marzo, 2024 alle 7:04PM
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