Hey everybody, I'm trying to query movies for the last 2 years. what do i need to add to this so it will work ? &primary_release_year=2015 .. i tried &primary_release_year=2015&primary_release_year=2014 and, &primary_release_year=2015,2014
but of course no luck, an suggestions ?
Bir filmi veya diziyi bulamıyor musun? Eklemek için oturum aç.
Bu öğeyi derecelendirmek veya bir listeye eklemek ister misiniz?
Üye değil misin?
Travis Bell adlı kullanıcıyı yanıtla
24 2015 tarihinde saat 11:25 ÖÖ'da
Hi mohen,
For a query like this, you need to use the
primary_release_date.gte
andprimary_release_date.lte
params.For more available params, please read through the docs.
Cheers.
mohen adlı kullanıcıyı yanıtla
24 2015 tarihinde saat 11:34 ÖÖ'da
Thank you for the quick response. for some reason I missed that on the docs. Sorry. But for some reason I still getting wrong dates like 2013 http://api.themoviedb.org/3/movie/top_rated?api_key=xxx&primary_release_date.gte=2014-01-01&primary_release_date.lte=2015-12-31
Travis Bell adlı kullanıcıyı yanıtla
24 2015 tarihinde saat 12:58 ÖS'da
You can't use those filters on the top rated method, only the discover.
If you would like get the top rated with those date queries, use the
sort_by=vote_average.desc
param with the discover query I posted above.