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!
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 24 Ιανουάριος 2016 στις 10:40 ΕΊΜΑΙ
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.