Hi all, I'm having trouble searching for all sci fi movies after 2000, sorted by dates ascending. This is my current query:
https://api.themoviedb.org/3/discover/movie?with_genres=878&release_date.gte=2000-01-01&api_key=api_key&sort_by=release_date
When I look at the movies I get from the query, it appears that the date function isn't working at all.
Would really appreciate any help!
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 January 24, 2016 at 10:40 AM
Hi kmckenna3,
You're not specifying a valid sort option, you're looking for either
release_date.desc
orrelease_date.asc
.One more thing to mention, you might find you get better results by using
primary_release_date.gte
andprimary_release_date.asc
/primary_release_date.desc
because remember, using therelease_date
filter simply looks at all release dates.Cheers.