While doing some testing, I noticed that the API for a movie query is requiring the the title to be exact. For example, in the following AP call...
http://api.themoviedb.org/3/search/movie?query=New+Years+Eve&api_key=MY_API_KEY
I get no results, however, if I add the apostrophe (to the word "Year's") into the query string, like this....
http://api.themoviedb.org/3/search/movie?query=New+Year's+Eve&api_key=MY_API_KEY
Then I actually get results. For some reason, I thought this working, but now I see it's not. Would like the query to not be so exact.
thanks
Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.
Want to rate or add this item to a list?
Not a member?
Odpowiedź użytkownika Travis Bell
9 maja 2013 o godz. 2:01PM
Good find, these are some of the little things we'll find with the new search.
I'll be able to address this fairly easily, but in the meantime I added an alternative title.
Should be good.
P.S. we don't require an exact title, this is unique to the apostrophe.
Odpowiedź użytkownika Scott
9 maja 2013 o godz. 2:02PM
It seems to now work again. I am getting the results I was expecting without being forced to use the apostophe.
http://api.themoviedb.org/3/search/movie?query=New+Years+Eve&api_key=MY_API_KEY
Maybe a hiccup in the system?
Odpowiedź użytkownika Scott
9 maja 2013 o godz. 2:03PM
Ok, thanks... I was posting above before I saw your response. Thanks again
Odpowiedź użytkownika Travis Bell
9 maja 2013 o godz. 2:15PM
No worries. I just committed the fix for this so as soon as everything is indexed again, other titles with apostrophes will start working as well. Thanks for reporting it.