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?
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 18 mars 2024 à 18h33
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.
Réponse de sourheart
le 18 mars 2024 à 18h46
Hi @travisbell
This is the curl
As you can see the first result is:
Réponse de Travis Bell
le 18 mars 2024 à 18h56
Right, you have
sort_by=primary_release_date.asc
but are filtering byrelease_date.xxx
. As I mentioned above, you should change that.Réponse de sourheart
le 18 mars 2024 à 19h04
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