Hello, I'm sure this problem is on my end, since I'm new to using this api (and api all in general). Anyway, when I try to search, for example:
http://api.themoviedb.org/3/search/movie?api_key=###&query=rush
Not all of the rush hours show up.
Same for if I try:
http://api.themoviedb.org/3/search/movie?api_key=###&query=shaw
no shawshank redemption shows up. How do I get this to work? Thank you.
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ مارس 24, 2014 في 12:06 مساءا
By default, the search doesn't use ngrams. if you're looking for a "autocomplete" type search, use
?search_type=ngram
. For more search options, make sure to consult the documentation.رد بواسطة wilfert2
بتاريخ مارس 24, 2014 في 12:23 مساءا
Thank you. That seemed to work better for the rush example, but shawshank redemption still doesn't show up. Any idea?
رد بواسطة Travis Bell
بتاريخ مارس 24, 2014 في 12:28 مساءا
The more you type, the better the results will be.
Returns Shawshank.
رد بواسطة wilfert2
بتاريخ مارس 24, 2014 في 12:39 مساءا
You're right. My php code was stupid, and I was starting at i = 1 and not i = 0, so I was skipping it -_-
Thanks. You're a lot of help.