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 ?
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ مايو 24, 2015 في 11:25 صباحا
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
بتاريخ مايو 24, 2015 في 11:34 صباحا
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
بتاريخ مايو 24, 2015 في 12:58 مساءا
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.