标签搜索

360壁纸Api接口文档

冷言
2022-03-19 / 32 评论 / - 阅读

分类接口

接口地址:http://wp.birdpaper.com.cn/intf/getCategory

返回格式:JSON

请求方式:GET

请求示例:http://wp.birdpaper.com.cn/intf/getCategory

请求参数说明:直接请求

返回参数说明:

名称类型
必填说明
old_idString分类id
categoryString分类名称
positionString总张数
hot_tagString二级分类

返回示例:

{
        errno: 0,
        msg: "",
        data: [
            {
                category: "4K专区",
                show_name: "4K",
                position: "100",
                hot_tag: [],
                old_id: "36"
            },
            {
                category: "美女模特",
                show_name: "美女",
                position: "99",
                hot_tag: [
                    {
                        tag: "清纯",
                        show_tag: "清纯"
                    },
                    {
                        tag: "YOU物馆",
                        show_tag: "YOU物馆"
                    },
                    {
                        tag: "性感女神",
                        show_tag: "性感女神"
                    },
                    {
                        tag: "文艺古风",
                        show_tag: "文艺古风"
                    }
                ],
                old_id: "6"
            },
        ]
    }

分类详情

接口地址:http://wp.birdpaper.com.cn/intf/GetListByCategory?cids=分类ID&pageno=1&count=10

返回格式:JSON

请求方式:GET

请求示例:http://wp.birdpaper.com.cn/intf/GetListByCategory?cids=36&pageno=1&count=10

请求参数说明:

名称类型必填说明
cidsNumber分类id
pagenoNumber分页
countNumber加载数量

返回参数说明:

名称类型必填说明
idString唯一id
urlString图片地址
categoryString所属分类
categoryString描述【关键字】

示例代码:

{
        errno: 0,
        msg: "",
        data: {
            total_count: 2000,
            total_page: 200,
            pageno: 1,
            count: 10,
            list: [
                {
                    id: "2023166",
                    category: "4K专区",
                    tag: "战斗机,飞机,跑道",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202007/3650801a856228d3997177edb8a1af85--2407623804.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                },
                {
                    id: "2023154",
                    category: "4K专区",
                    tag: "春意盎然,草原,牧场,辽阔",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202007/1d14e3582128cc37c000732f978e8f1f--367037341.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                },
                {
                    id: "2023151",
                    category: "4K专区",
                    tag: "春意盎然,草原,蓝天,云朵,护眼",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202007/041032637716209918e845fa5ad71f84--3089467778.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                },
                {
                    id: "2022431",
                    category: "4K专区",
                    tag: "国漫,鬼刀,冰公主",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202006/475b89875e937bd2b3c66ab671399629--4138468370.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                },
                {
                    id: "2022428",
                    category: "4K专区",
                    tag: "护眼壁纸,蒲公英",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202006/b53b176f0834948e28180a23512aa2b2--694726005.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                },
                {
                    id: "2021933",
                    category: "4K专区",
                    tag: "夏威夷海滩,,黄昏,,",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202006/e567cb40c5774304783516299e518be4--1848356019.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                },
                {
                    id: "2021927",
                    category: "4K专区",
                    tag: "夏威夷,,海滩,,航拍",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202006/c2a52d1c2fc64ab43e4b1308cb200645--2561210487.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                },
                {
                    id: "2021917",
                    category: "4K专区",
                    tag: "绿巨人,漫威,钢铁侠",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202006/98dc794cf51b17a81972be1b119bae09--605464834.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                },
                {
                    id: "2021811",
                    category: "4K专区",
                    tag: "金发,美女,精灵,兽耳",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202006/2a2ffaeeddfcedeabe6cbd6568b75cd9--2249190785.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                },
                {
                    id: "2021810",
                    category: "4K专区",
                    tag: "森林,丛林,河流,航拍",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202006/682e17b213552fc3083e393b5da4b4b6--2092649417.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "36"
                }
            ]
        }
    }

搜索功能

接口地址:http://wp.birdpaper.com.cn/intf/search?content=搜索关键字&pageno=1&count=10

返回格式:JSON

请求方式:GET

请求示例:http://wp.birdpaper.com.cn/intf/search?content=模特&pageno=1&count=10

请求参数说明:

名称类型必填说明
contentNumber关键字
pagenoNumber分页
countNumber加载数量

返回参数说明:

名称类型必填说明
idString唯一id
urlString图片地址
categoryString所属分类
tagString描述【关键字】

示例代码:

{
        errno: 0,
        msg: "",
        data: {
            total_count: 2000,
            total_page: 200,
            pageno: 1,
            count: 10,
            list: [
                {
                    id: "324680",
                    tag: "美女模特",
                    category: "美女模特",
                    url: "http://cdn-ali-img-staticbz.shanhutech.cn/bizhi/staticwp/201903/761350b68e44fca315cff737d409b19f.jpg",
                    class_id: "6"
                },
                {
                    id: "324678",
                    tag: "美女模特",
                    category: "美女模特",
                    url: "http://cdn-ali-img-staticbz.shanhutech.cn/bizhi/staticwp/201903/e83a9930f71dc0d9cb0d184a9027c7f2.jpg",
                    class_id: "6"
                }
            ]
        }
    }

最新壁纸

接口地址:http://wp.birdpaper.com.cn/intf/newestList?pageno=1&count=10

返回格式:JSON

请求方式:GET

请求示例:http://wp.birdpaper.com.cn/intf/newestList?pageno=1&count=10

请求参数说明:

名称类型必填说明
pagenoNumber分页
countNumber加载数量

返回参数说明:

名称
类型必填说明
total_countString总条数
total_pageString总页数
pagenoString当前页数
countString当前条数
listArray数据数组
categoryString所属分类
urlString地址
tagString描述【关键字】

示例代码:

{
        errno: 0,
        msg: "",
        data: {
            total_count: 180,
            total_page: 18,
            pageno: 1,
            count: 10,
            list: [
                {
                    id: "2022854",
                    category: "动漫卡通",
                    tag: "二次元,教室,桌椅,黑板",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202007/d675b9065438991b26f1b842824c49a8--1570210833.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "26"
                },
                {
                    id: "2022848",
                    category: "风景大片",
                    tag: "油菜花,平原,田野,广阔",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202007/f2e18b5f43f5a2a4e8ba826e58cd3bdd--774278070.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "9"
                },
                {
                    id: "2022845",
                    category: "风景大片",
                    tag: "自然风光,山顶,雾,群山",
                    url: "http://cdn-ali-img-shstaticbz.shanhutech.cn/bizhi/staticwp/202007/9b8ad17988a067f2af48dfbd1403a88a--2871356798.jpg",
                    status: "1",
                    live_open: false,
                    class_id: "9"
                },
            ]
        }
    }

备注

名称类型必填说明
total_countString总条数
total_pageString总页数
pagenoString当前页数
countString当前条数

0

评论

博主关闭了本网站的评论