一枚新的壁纸接口

发布于 / 教程 / 0 条评论

接口资源来自360图片,资源数量未知,站点预览

调用示例


https://api-cn.berryapi.net/images/?cid=6&star=0&count=2

接口返回


{
    "errno": "0",
    "errmsg": "正常",
    "consume": "4",
    "total": "5998",
    "data": [
        {
            "id": "318910",
            "class_id": "6",
            "resolution": "1920x1080",
            "url_mobile": "http://p18.qhimg.com/t01078c1a26400dbe20.jpg",
            "url": "http://p18.qhimg.com/bdr/__85/t01078c1a26400dbe20.jpg",
            "url_thumb": "http://p18.qhimg.com/t01078c1a26400dbe20.jpg",
            "url_mid": "http://p18.qhimg.com/t01078c1a26400dbe20.jpg",
            "download_times": "0",
            "imgcut": "0",
            "tag": "_全部_ _category_美女_ _category_性感女神_ _category_美女模特_",
            "create_time": "2018-04-20 11:04:51",
            "update_time": "2018-04-20 11:04:51",
            "utag": "美女 性感女神",
            "tempdata": "",
            "rdata": [],
            "img_1600_900": "http://p18.qhimg.com/bdm/1600_900_85/t01078c1a26400dbe20.jpg",
            "img_1440_900": "http://p18.qhimg.com/bdm/1440_900_85/t01078c1a26400dbe20.jpg",
            "img_1366_768": "http://p18.qhimg.com/bdm/1366_768_85/t01078c1a26400dbe20.jpg",
            "img_1280_800": "http://p18.qhimg.com/bdm/1280_800_85/t01078c1a26400dbe20.jpg",
            "img_1280_1024": "http://p18.qhimg.com/bdm/1280_1024_85/t01078c1a26400dbe20.jpg",
            "img_1024_768": "http://p18.qhimg.com/bdm/1024_768_85/t01078c1a26400dbe20.jpg"
        },
        {
            "id": "318909",
            "class_id": "6",
            "resolution": "1920x1200",
            "url_mobile": "http://p16.qhimg.com/t011d95f93724733892.jpg",
            "url": "http://p16.qhimg.com/bdr/__85/t011d95f93724733892.jpg",
            "url_thumb": "http://p16.qhimg.com/t011d95f93724733892.jpg",
            "url_mid": "http://p16.qhimg.com/t011d95f93724733892.jpg",
            "download_times": "0",
            "imgcut": "0",
            "tag": "_全部_ _category_美女_ _category_文艺古风_ _category_和服_ _category_美女模特_",
            "create_time": "2018-04-20 10:56:52",
            "update_time": "2018-04-20 10:56:52",
            "utag": "美女 文艺古风 和服",
            "tempdata": "",
            "rdata": [],
            "img_1600_900": "http://p16.qhimg.com/bdm/1600_900_85/t011d95f93724733892.jpg",
            "img_1440_900": "http://p16.qhimg.com/bdm/1440_900_85/t011d95f93724733892.jpg",
            "img_1366_768": "http://p16.qhimg.com/bdm/1366_768_85/t011d95f93724733892.jpg",
            "img_1280_800": "http://p16.qhimg.com/bdm/1280_800_85/t011d95f93724733892.jpg",
            "img_1280_1024": "http://p16.qhimg.com/bdm/1280_1024_85/t011d95f93724733892.jpg",
            "img_1024_768": "http://p16.qhimg.com/bdm/1024_768_85/t011d95f93724733892.jpg"
        }
    ]
}

请求参数

cid:分类id
star:开始项
count:返回图片数量
分类cid查看:


https://api-cn.berryapi.net/images/cid/

cid返回:


{
    "error": 0,
    "count": "",
    "star": "",
    "data": [
        {
            "cat": "4k",
            "cid": 36
        },
        {
            "cat": "美女模特",
            "cid": 6
        },
        {
            "cat": "爱情",
            "cid": 30
        },
        {
            "cat": "风景",
            "cid": 9
        },
        {
            "cat": "小清新",
            "cid": 15
        },
        {
            "cat": "动漫",
            "cid": 26
        },
        {
            "cat": "明星",
            "cid": 11
        },
        {
            "cat": "萌宠",
            "cid": 14
        },
        {
            "cat": "游戏",
            "cid": 5
        },
        {
            "cat": "汽车",
            "cid": 12
        },
        {
            "cat": "时尚",
            "cid": 10
        },
        {
            "cat": "月历壁纸",
            "cid": 29
        },
        {
            "cat": "影视",
            "cid": 7
        },
        {
            "cat": "节日",
            "cid": 13
        },
        {
            "cat": "军事",
            "cid": 22
        },
        {
            "cat": "体育",
            "cid": 16
        },
        {
            "cat": "Baby",
            "cid": 18
        },
        {
            "cat": "文字",
            "cid": 35
        }
    ]
}
转载原创文章请注明,转载自: LYLARES BLOG » 一枚新的壁纸接口

Not Comment Found