The Movie Database 支持

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.

6 回复(第 1 页,共 1 页)

Jump to last post

Hi mvix,

Are you referring to just searching for a movie but its title? If so, you're looking for:

https://api.themoviedb.org/3/search/movie?api_key=###&query=batman

We don't have a "keyword" search per say, our search is pure relevancy based.

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?

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.

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.

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.

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.

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区