豆瓣最新热门影片 - API
输出当前最新热门影片推荐

接口地址: https://api.oick.cn/db/api.php

返回格式: JSON

请求方式: GET

请求示例: https://api.oick.cn/db/api.php

请求参数说明:

名称 必填 类型 说明
nullnull

返回参数说明:

名称 类型 说明
titleString返回片名
imagesString返回图片连接
yearString返回上映时间
altString返回访问地址
idString返回ID连接地址

返回示例:

{
    "code": "1",
    "result": [{
        "title": "理查德·朱维尔的哀歌",
        "images": "http://img9.doubanio.com/view/photo/s_ratio_poster/public/p2578705064.jpg",
        "year": "2019",
        "alt": "https://movie.douban.com/subject/25842038/",
        "id": "25842038"
    },
    {
        "title": "变身特工",
        "images": "http://img9.doubanio.com/view/photo/s_ratio_poster/public/p2577340942.jpg",
        "year": "2019",
        "alt": "https://movie.douban.com/subject/27000084/",
        "id": "27000084"
    },
    {
        "title": "紫罗兰永恒花园外传:永远与自动手记人偶",
        "images": "http://img9.doubanio.com/view/photo/s_ratio_poster/public/p2578722076.jpg",
        "year": "2019",
        "alt": "https://movie.douban.com/subject/33424345/",
        "id": "33424345"
    },
    {
        "title": "灭绝",
        "images": "http://img9.doubanio.com/view/photo/s_ratio_poster/public/p2579512247.jpg",
        "year": "2018",
        "alt": "https://movie.douban.com/subject/26871938/",
        "id": "26871938"
    },
    {
        "title": "鲨海逃生",
        "images": "http://img9.doubanio.com/view/photo/s_ratio_poster/public/p2578721161.jpg",
        "year": "2019",
        "alt": "https://movie.douban.com/subject/27186353/",
        "id": "27186353"
    },
    {
        "title": "我在时间尽头等你",
        "images": "http://img9.doubanio.com/view/photo/s_ratio_poster/public/p2585460940.jpg",
        "year": "2020",
        "alt": "https://movie.douban.com/subject/26661193/",
        "id": "26661193"
    }]
}

错误码格式说明:

名称 类型 说明
codeString返回的状态码 -1/1 失败/成功
msgString返回结果提示信息!

代码示例: