360壁纸图片API收录(CSDN转载)

360壁纸图片API收录

1.获取壁纸类别
url:http://wallpaper.apc.360.cn/index.php?c=WallPaperAndroid&a=getAllCategories
访问接口返回json数据,各字段意义如下:
json 解析:
    total:返回数据数量
    data:返回的数据
    name:类别名
    totalcnt:该类别壁纸数量

2.获取某类别下的壁纸
url:http://wallpaper.apc.360.cn/index.php?c=WallPaperAndroid&a=getAppsByCategory
用以上url拼接以下参数:
cid:类别id,类别已知:
            1:每日精选  5:游戏  6:美女  9:风景  10:视觉创意  11:明星影视  12:汽车  14:萌宠动物  15:小清新  16:体育  22:军事  26:动漫卡通  30:情感  35:文字

start:跳过的记录数

count:返回的数量


url 示例:http://wallpaper.apc.360.cn/index.php?c=WallPaperAndroid&a=getAppsByCategory&cid=9&start=0&count=99
访问接口返回json数据,各字段意义如下:

json解析:
    total:返回数据数量
    data:返回的数据
    pid:
    cid:类别ID
    url:壁纸地址
    fav_total:收藏数


3.按关键字搜索壁纸
url:http://wallpaper.apc.360.cn/index.php?c=WallPaper&a=search
用以上url拼接以下参数:
    kw:关键字
    start:跳过的记录数
    count:返回的数量
url 示例:http://wallpaper.apc.360.cn/index.php?c=WallPaper&a=search&start=0&count=99&kw=毕业

访问接口返回json数据,各字段意义如下:

json解析:
    total:返回数据数量
    data:返回的数据
    id:壁纸id
    tag:所属的壁纸类别名称
    utag:壁纸tags
    fav_total:收藏数

4.获取今日热门搜索
url:http://openbox.mobilem.360.cn/html/api/wallpaperhot.html
访问接口返回json数据,各字段意义如下:

json解析:
    total:返回数据数量
    data:返回的数据

打赏

本篇文章链接 地址:https://wmzos.com/?id=115

相关阅读

添加新评论