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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on May 9, 2013 at 2:01 PM
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.
Reply by Scott
on May 9, 2013 at 2:02 PM
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?
Reply by Scott
on May 9, 2013 at 2:03 PM
Ok, thanks... I was posting above before I saw your response. Thanks again
Reply by Travis Bell
on May 9, 2013 at 2:15 PM
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.