The Movie Database 支持

I build an application that uses some images which are chosen manually because they have some information that are useful for my application.

The problem is, I cannot use your api to do that because when I made a request I have all images of a movie but it is not what I want and it can begin too complex to retrieve the image that I want in the response....

Is there a solution for this problem ?

Something like this: https://image.tmdb.org/t/p/original/**MyAPIKEY**/nxRD5Tc639keDQVOdogWLTdQrx9.jpg

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

Jump to last post

Something like this: https://image.tmdb.org/t/p/original/**MyAPIKEY**/nxRD5Tc639keDQVOdogWLTdQrx9.jpg

This is not an API request.

If you want all the images of a movie or a person then you can use Movies > Get Images or for people People > Get Images. Remember these take the movie/person id as a parameter. Also read through the Images section under getting started

When you make a request for images using the API you get a file_path and not the actual URL to the image. The URL to the image file is made up of three parts. base_url, file_size, file_path. Combining these parts you will get the complete URL to the image file.

For example when you make a request to get the info about the movie using api.themoviedb.org/3/movie/263115?api_key=##APIKEY## in the response JSON object you get the poster_path key which only contains the file_path like so : /45Y1G5FEgttPAwjTYic6czC9xCn.jpg

And now combining the base_path, file_size, file_path you get : https://image.tmdb.org/t/p/w500/45Y1G5FEgttPAwjTYic6czC9xCn.jpg

You can retrieve all the Images and the select manually which one you want to have if that's what you want.

Ok so it is not possible for me to use the API, I will just use the image link from scratch.

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

全站通用

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

在媒体页面

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

在电视季页面

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

在电视集页面

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

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

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

在讨论页面

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

设置

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

登录

还不是会员?

注册加入社区