【歌单】通过QQ获取用户创建歌单


接口地址

https://api.cenguigui.cn/api/music/qq/user_list.php?qq=QQ号

返回格式

JSON

请求方式:

GET

请求示例:

https://api.cenguigui.cn/api/music/qq/user_list.php?qq=2963246343

参数说明

名称 必填 类型 说明
QQQQ号,默认:2963246343

返回数据

{
    "code": 200,
    "msg": "解析成功",
    "data": {
        "name": "笒鬼鬼",
        "totoal": 16
    },
    "myplaylist": [
        {
            "id": 8196529399,
            "name": "独处时光听的歌",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M0000014wFkD3ybtBo.jpg?n=1",
            "song_cnt": 433,
            "dirid": 17
        },
        {
            "id": 7951039977,
            "name": "喜欢",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000001ZaCQY2OxVMg.jpg?n=1",
            "song_cnt": 754,
            "dirid": 16
        },
        {
            "id": 7864251845,
            "name": "孟颖",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000002gnIDK2rNPJM.jpg?n=1",
            "song_cnt": 30,
            "dirid": 15
        },
        {
            "id": 7837773797,
            "name": "翻唱比原唱好听",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000004Bf3fv1v6fQ5.jpg?n=1",
            "song_cnt": 564,
            "dirid": 14
        },
        {
            "id": 7794642412,
            "name": "乱七八糟",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000000srguQ2yhtsF.jpg?n=1",
            "song_cnt": 476,
            "dirid": 13
        },
        {
            "id": 7789509669,
            "name": "8先生",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000000SU1pq4cxt9C.jpg?n=1",
            "song_cnt": 39,
            "dirid": 12
        },
        {
            "id": 7789508911,
            "name": "泽亦龙的滴锥",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M0000012tXCy0Z1mS2.jpg?n=1",
            "song_cnt": 80,
            "dirid": 11
        },
        {
            "id": 7789500152,
            "name": "爱吃巧乐兹",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000004fuG193gbJt4.jpg?n=1",
            "song_cnt": 576,
            "dirid": 10
        },
        {
            "id": 7741674528,
            "name": "热门歌",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M0000003ivtq1bDq33.jpg?n=1",
            "song_cnt": 297,
            "dirid": 9
        },
        {
            "id": 7502570769,
            "name": "小黄人版DJ | 好魔性的声音呀!",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000001HLZ5o08ZQg3.jpg?n=1",
            "song_cnt": 27,
            "dirid": 8
        },
        {
            "id": 7502522199,
            "name": "小黄人版歌曲,鬼鬼听",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000001fH0s14Slp6n.jpg?n=1",
            "song_cnt": 299,
            "dirid": 7
        },
        {
            "id": 7377720114,
            "name": "中文音乐(咕咚版)",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000001pccs21iG1I4.jpg?n=1",
            "song_cnt": 131,
            "dirid": 6
        },
        {
            "id": 7122069029,
            "name": "特殊的歌",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000001wGkw21JbIYh.jpg?n=1",
            "song_cnt": 3,
            "dirid": 5
        },
        {
            "id": 6709525768,
            "name": "回忆",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000003i93ol1kTUjX.jpg?n=1",
            "song_cnt": 55,
            "dirid": 4
        },
        {
            "id": 5692147216,
            "name": "游戏音",
            "pic": "https://qpic.y.qq.com/music_cover/vwfrRkMsiaYvWaRbJHtOfQyuicn3mdElzZozguknS2KzOwpQwzbRJianQ/300?n=1",
            "song_cnt": 96,
            "dirid": 3
        },
        {
            "id": 1777098763,
            "name": "喜欢的歌",
            "pic": "https://y.gtimg.cn/music/photo_new/T002R300x300M000000sUgE748GowL.jpg?n=1",
            "song_cnt": 154,
            "dirid": 1
        }
    ]
}

调用实例

通过QQ号获取:
https://api.cenguigui.cn/api/music/qq/user_list.php?qq=2963246343

微信的需要登录y.qq.com后获取uin的值再使用如下:
https://api.cenguigui.cn/api/music/qq/user_list.php?qq=1152921504763234836

示例代码

						
黑暗交替
本站已安全运行449天7时7分39秒

赞助一下