I have the following API call in a python script:
The rating and vote count seem to be working fine, but the popularity is returning everything.
My current settings are:
An output example:
Can anyone see why my vote count and average score would be working but the popularity is being ignored?
Thanks!
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 June 13, 2023 at 10:25 AM
Hi @Shadow229, there are no
popularity.gte
orpopularity.lte
filters. I do however have an open ticket for that here.Reply by Shadow229
on June 13, 2023 at 10:27 AM
Thanks @travisbell - I'll keep an eye on the ticket for that one! Would be a great addition to the parameters :) Thanks for the quick response!
Reply by robbie3999
on June 13, 2023 at 12:33 PM
Hi @Shadow229, just a tip, while you can't filter by popularity yet, you can sort by it. For example, "sort_by=popularity.desc", which is the default sort anyway. So to get what you want, you can just read results until you hit your popularity threshold, then stop reading.