Hello,
How do i get only and only movies list based on keyword. Lets say if i write "star", i want a list of all movies contains a word "star". please response as soon as possible.
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 June 21, 2016 at 11:09 PM
Hi mvix,
Are you referring to just searching for a movie but its title? If so, you're looking for:
We don't have a "keyword" search per say, our search is pure relevancy based.
Reply by mvix
on June 22, 2016 at 1:36 AM
Hello,
I am using "http://api.themoviedb.org/3/search/movie?api_key=###&query=star&page=1&language=en&include_adult=0" only. But here I found that it is return data not only for movies but it includes all the pop albums, actor/actress, video etc. having word "star". Here i want only and only movies list not anything else. Is there anything for this? http://i.prntscr.com/56bf94bdc8664b1eb1dd53bc412be145.png
Is there anything by which i can differentiate movies and other entities?
Reply by agrmbl
on June 22, 2016 at 3:37 AM
mvix,
Both of "these are not movies" are movies actually, https://www.themoviedb.org/movie/278718 and https://www.themoviedb.org/movie/310980-star respectively. Second one is a short film by the looks of it.
I'd just filter the results at my end: check for exact keyword match and minumum runtime or something like that.
Reply by mvix
on June 22, 2016 at 8:45 AM
Hello,
But how? Which attribute i can use to filter movies. See this. https://www.themoviedb.org/search/remote/multi?query=star&language=en-US. In the response of this url, i can see that there is one attribute is set "media_type":"movie" or "media_type": "tv". How can i do this? Please Help. Thank you in advance.
Reply by agrmbl
on June 22, 2016 at 8:49 AM
You seem to be confusing APIs.
/search/movie and /search/tv endpoints return movies and tv shows respectively, as stated in docs.
Screenshot you've attached above kinda proves that.
Reply by mvix
on June 22, 2016 at 8:53 AM
No, I am using search/movie api only but getting list including movies, tv, actor/actress, pops. Thats why i am asking anything is there to get only movies list. Hello,
https://www.themoviedb.org/search/remote/multi?query=star&language=en-US. This is just an example i am giving. I am not using this url.