酷狗音乐歌手写真api分享

最近闲着无聊,发现了酷狗的一个开放接口😘,通过该接口用户可以获取酷狗歌手写真😍

https://openapicdnretry.kugou.com/kmr/v1/author/extend?fields_pack=allimages&authorimg_type=4,5&entity_id=

接下来我将对该接口进行使用讲解:

参数列表
请求方式GET
参数列表authorimg_type4,5        获取手机端歌手写真
2,3        获取PC端歌手写真
entity_id歌手id

示例:https://openapicdnretry.kugou.com/kmr/v1/author/extend?fields_pack=allimages&authorimg_type=4,5&entity_id=3520

返回数据:

{
  "error_code": 0,
  "msg": "",
  "data": [
    {
      "__status": 1,
      "base": {
        "author_id": 3520,
        "author_name": "周杰伦",
        "is_publish": 1,
        "language": "华语",
        "avatar": "http://singerimg.kugou.com/uploadpic/softhead/{size}/20230510/20230510173043311.jpg",
        "identity": 15,
        "type": 1,
        "country": "中国",
        "birthday": "1979-01-18"
      },
      "imgs": [
        {
          "id": 551578,
          "file": "http://imge.kugou.com/v2/mobile_portrait/2cfe9ac7f88d968ed09a8e422b493388.jpg",
          "hash": "2cfe9ac7f88d968ed09a8e422b493388",
          "publish_time": "2015-01-01",
          "source": 0,
          "type": 4
        },   
        {
          "id": 4999620,
          "file": "http://imge.kugou.com/v2/mobile_portrait/8c0247d610c292b975e713df5a9a2217.jpg",
          "hash": "8c0247d610c292b975e713df5a9a2217",
          "publish_time": "2012-01-01",
          "source": 0,
          "type": 4
        },
        ...
      ]
    }
  ],
  "status": 1
}

示例图像:

 趁着酷小狗🐶还没发现,快去用起来吧😍

  • 4
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值