简要描述:

  • 解析获取全民K歌音乐相关信息

请求URL:

  • https://api.tencentbridge.com/open/music/kg.php

请求方式:

  • GET/POST

参数:

参数名必选类型说明
urlstring音乐分享链接

请求示例:

  • https://api.tencentbridge.com/open/music/kg.php?url=https://kg.qq.com/node/play?s=d-GYCadMOClC7d_0&shareuid=64959a822728338a32&topsource=a0_pn201001006_z1_u687725416_l1_t1579315797__

返回示例

{
  "code": 1,
  "msg": "获取成功",
  "site": "api.tencentbridge.com",
  "data": {
    "work": {
      "payurl": "http://tx.stream.kg.qq.com/szkge-btfs/e02b002e996c773b2136c90fba06408ea0f9616d?ftnrkey=39f88230702db3b34bfe75d85cc92a037688310280cb5efcae938b24b37208e6bef1f56a79da2fb4dc895bc1e4cdb7b39e9b7847dc899dbd92ff21d7bd5d8ea7&vkey=9E3878FE4281AA065DD5175007B77AFE85712A28339A3A9AB10653051075211E98C6362E06A4628C759C1C36A7DF83228BA8C6F4F58E6446E311FDD3149F8B9443E9144490EDDDB377A2E44EFA9453A349443508C18EE73B&fname=1021_df8257e8b3727cb4547e47ef80f967fc498150af.0.m4a&fromtag=1418&sdtfrom=v1418&ugcid=259747750_1576677261_300",
      "equipment": "iPad7,11",
      "song_name": "桥边姑娘",
      "cover": "http://y.gtimg.cn/music/photo_new/T002R500x500M0000037Yq3H3RznaX.jpg?max_age=2592000",
      "content": "我刚唱了一首歌曲,快来听听吧。",
      "singer_name": "海伦"
    },
    "num": {
      "flower_num": 17,
      "comment_num": 0,
      "gift_num": 0,
      "score": 914
    },
    "author": {
      "avatar": "http://shp.qlogo.cn/ttsing/259747750/259747750/100",
      "nick": "Xpt"
    }
  }
}

返回参数说明

参数名必选类型说明
codenumber1解析正常/0解析失败

标签: 全民K歌, 音乐解析, 音乐, K歌

添加新评论