The Movie Database 支持

I am really new for the API, and I can hardly understand the reference. The first question is that where can I get the URL to use the API key? I've saw that "http://api.themoviedb.org/3/search/movie?api_key="+api_key+"&query="; for film, but I don't know where to find other URLS. In http://docs.themoviedb.apiary.io/reference, there is a webpage,http://private-anon-62624bef6-themoviedb.apiary-mock.com/3/search/movie,but it's only a result, not the URLS for response...

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

Jump to last post

I'm not sure I understand your question. All the API requests are in the documentation, what do you mean by URL ?

For example, when I want to use the search for movie ,the url is "http://api.themoviedb.org/3/search/movie?api_key="+api_key+"&query="+move; But the response is only for the release year, and the name of movie. If I still want more informations, like the actors and language, where can I get that response?

I am sorry that I'm really poor at it . For example , I 've found that http://api.themoviedb.org/3/search/movie?api_key=###&query=movieName is a URL for search movie, but I don't know where you get to know the URL. I cannot find it in the documentation. If I want to get movie information by Id, I cannot find the URL for response

The API provides you with access to CREDITS so you may get the actors this way : http://docs.themoviedb.apiary.io/reference/movies/movieidcredits/get

Everything is in the documentation. As for the language it should be in the /movie data.

Hi liuqyilin, like HarisRobin said, all the links and how to get to them are listed in the documentation.

For example, to search for a movie by id, you would append the base url with /movie/{id}/apiKey replace {id} with the id of the movie you want to search.

I hope this helps, if I did ub=nderstand your question.

Thanks a lot, it works now.

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

全站通用

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

在媒体页面

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

在电视季页面

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

在电视集页面

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

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

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

在讨论页面

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

设置

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

登录

还不是会员?

注册加入社区