For example, this query: http://api.themoviedb.org/3/discover/movie?api_key=key&page=1&release_date.gte=2013-05-12&release_date.lte=2013-05-14, returns a set of movies most of which have a release date outside of that range. Do I have the syntax of the query correct?
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 13 Μάιος 2013 στις 09:20 ΕΊΜΑΙ
Interesting. Yup, definitely a bug. I don't see anything wrong with your query so I've created a new ticket and will look at this soon.
Απάντηση από τον/την Travis Bell
στις 14 Μάιος 2013 στις 04:39 ΜΜ
I've just deployed the fix for this. If you take a look at the query above it's now filtering properly.
And just a quick note, remember the
release_date
params don't search primary release dates but rather all of the release dates that have been added to any particular movie. Some movie's primary release date might be out of the range you specify, but they will always have a worldwide release in the range.Απάντηση από τον/την kentin_dommerc
στις 6 Ιούνιος 2013 στις 04:28 ΕΊΜΑΙ
Hey, I've got the same problem with this query :
http://api.themoviedb.org/3/discover/movie?api_key=myKey&vote_count.gte=50&vote_average.gte=7.0&release_date.gte=2000-01-01
Απάντηση από τον/την Travis Bell
στις 6 Ιούνιος 2013 στις 10:26 ΕΊΜΑΙ
Of the movies I looked at being returned in your query, they all had at least one release date since 2000 added. See my comment above.
Απάντηση από τον/την kentin_dommerc
στις 6 Ιούνιος 2013 στις 01:12 ΜΜ
Oh yes, you're right. Isn't it a way to get the first release date ? Like a primary_release_year.gte ?
Απάντηση από τον/την Travis Bell
στις 6 Ιούνιος 2013 στις 01:29 ΜΜ
Hi Kentin,
There is nothing right now but I have created a ticket for me to think about this in the future.
Απάντηση από τον/την kentin_dommerc
στις 6 Ιούνιος 2013 στις 01:33 ΜΜ
Okay thanks Travis!
Απάντηση από τον/την reelrate
στις 29 Ιούνιος 2013 στις 04:01 ΕΊΜΑΙ
Another question about this method. When i add the language as optional paramter will this have any affect on the release_date and sort_by parameter?
Απάντηση από τον/την Travis Bell
στις 29 Ιούνιος 2013 στις 10:13 ΕΊΜΑΙ
Nope, none whatsoever. Language only affects
title
andposter_path
fields.Απάντηση από τον/την reelrate
στις 29 Ιούνιος 2013 στις 02:21 ΜΜ
Hi Travis,
thanks for your feedback.
Απάντηση από τον/την thomasdeniau
στις 22 Σεπτέμβριος 2014 στις 12:12 ΜΜ
It would be super-great to be able to specify the country code release_date.gte and release_date.lte apply to, in order to build something which lists the files being released near you.
I've also tried using /movie/now_playing for this, but it seems the "language" parameter does not filter correctly either (if I say language=fr for example, I also get movies released only in Korea)
Απάντηση από τον/την Travis Bell
στις 22 Σεπτέμβριος 2014 στις 12:32 ΜΜ
Hi thomasdeniau,
Yup, there's an open ticket for that here. We only support filtering by language at the moment, there is no country filtering whatsoever at this time.
Απάντηση από τον/την thomasdeniau
στις 22 Σεπτέμβριος 2014 στις 12:39 ΜΜ
So filtering by language is supposed to work? I get movie titles in English, Spanish, Korean... with language=fr for both /movie/now_playing and /discover/movie... Thanks a lot!
Απάντηση από τον/την Travis Bell
στις 22 Σεπτέμβριος 2014 στις 12:44 ΜΜ
Yup, look at the
title
field. It will be the field that contains the translated titles. It falls back to the original title if there's no translated value available.You can see The Drop, Maze Runner, Behaving Badly, etc... have translated titles.
Απάντηση από τον/την thomasdeniau
στις 22 Σεπτέμβριος 2014 στις 12:49 ΜΜ
Yes, I do get localized titles. But it doesn't filter anything out. For example, films that don't have a title in this language.