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.
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 21. Juni 2016 um 23:09
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.
Antwort von mvix
am 22. Juni 2016 um 01:36
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?
Antwort von agrmbl
am 22. Juni 2016 um 03:37
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.
Antwort von mvix
am 22. Juni 2016 um 08:45
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.
Antwort von agrmbl
am 22. Juni 2016 um 08:49
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.
Antwort von mvix
am 22. Juni 2016 um 08:53
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.