I am stuck to get result with discover parameters i am using https://api.themoviedb.org/3/discover/movie?api_key=XXX&language=en-US&sort_by=popularity.asc&page=1&with_keywords=sequel,war but found no results each time anyone help me.
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ ديسمبر 21, 2016 في 10:40 صباحا
Hi @waqas117
with_keywords
is expecting a list of keywords ids, not the actual keywords themselves.For the case of the two keywords, sequel and war, they are
9663
and6091
respectively. So, the query you're looking for is:Keep in mind, that's an 'AND' query, you could do
with_keywords=9663|6091
if you're looking for a 'OR' query.Cheers.
رد بواسطة waqas akram
بتاريخ ديسمبر 24, 2016 في 3:16 صباحا
Thanks Travis its boom :)