接口地址:https://api.uomg.com/api/get.kg
返回格式:json/text
请求方式:get/post
请求示例:https://api.uomg.com/api/get.kg?songurl=https://node.kg.qq.com/play?s=YaCv8EYfJunVWYcH
请求参数说明:
名称 | 必填 | 类型 | 说明 | |
---|---|---|---|---|
songurl | 否 | string | 要解析的歌曲链接 | |
format | 否 | string | 输出方式[json|text|file]默认为json |
返回参数说明:
名称 | 类型 | 说明 | |
---|---|---|---|
code | string | 返回的状态码 | |
data | string | 解析的歌曲信息 | |
msg | string | 返回错误提示信息! |
返回示例:
{ "code":1, "data":{ "phonemodel":"", "playurl":"http:\/\/tx.stream.kg.qq.com\/shkge\/fb70d97ef0d0059b7c5d5bca9c288e343a456b95?ftnrkey=f951edd36f8a39f5fb0ccf3d22f659b8e3423702a98a61d9a1fb8a6e1b94f91810d9af1324d4bdb8670b5ffbd74e489acb559f603f740935a9ffa39e6aec6b8c&vkey=A45A5D6B107B2FF7506A6492DBD0007EFA643629E08C6C8943AD33D116E9F808F1FC130442EF61166A6FB02E80DE248586C9F90DCA0C1E90AF66B71A38BBA511788CFA4DA98F8F242CB82E6AE421C7F50B75BB8D2F277677&fname=1021_13c035e97bf926ab547e47ef83f99afc7a8163ac.0.m4a&fromtag=1406&sdtfrom=v1406&ugcid=270656622_1553493314_688", "play_num":1545, "pic":"http:\/\/shp.qpic.cn\/ttkg\/0\/6dc035e97bf926ab047e47ef83f9fafc59816eae\/200?j=PiajxSqBRaEIf0bHhsJQ0QVoFSjos8ibuwib8icMibSGWGru7aj84uAW826V84GUk58dtqf27eKC51gRtLapYyjVa4xBayvLIGjKQxKvaLqWDLISUCRdBLYxzWDWHSiaia6beA8IdicVwEZhZhk", "song_name":"\u518d\u89c1", "kg_nick":"\u6e29\u4e66\u7434Wendy" } }