本接口总调用:0次·今日调用:0次
接口地址: https://api.suyanw.cn/api/wyrp.php
返回格式: Json
请求方式: GET
请求示例: https://api.suyanw.cn/api/wyrp.php?type=mp3
请求参数说明:
| 名称 | 必填 | 说明 |
|---|---|---|
| msg | 否 | 选择输出分类[榜单随机歌曲|新歌榜|飙升榜|原创榜],为空输出榜单随机歌曲 |
| type | 否 | 返回格式,默认json可选text,mp3,mp3url |
| hh | 否 | 换行符号(默认\n) |
系统级错误:
| 名称 | 说明 |
|---|---|
| 400 | 请求错误! |
| 403 | 请求被服务器拒绝! |
| 405 | 客户端请求的方法被禁止! |
| 408 | 请求时间过长! |
| 500 | 服务器内部出现错误! |
| 501 | 服务器不支持请求的功能,无法完成请求! |
| 503 | 系统维护中! |
返回示例:
{
"name": "You Are All I Need",
"picurl": "http://p1.music.126.net/1Dd1l9UDGWzsWudg9Ik8SA==/109951168475794909.jpg",
"artistsname": "Flight Number 001",
"avatarurl": "http://p2.music.126.net/UB-LkY6IC1w76WYvOCzQ0g==/109951173733901378.jpg",
"nickname": "小雨呆蒙蒙",
"content": "You are almost like a fiction\n你宛如一场虚幻梦境\nGive me my heart an addiction\n让我心底为你沉溺上瘾\nNow on me and on future\n无论此刻或是往后余生\nWe can find a way to go on\n我们总能携手继续前行\nSuper ration\n满心皆是坚定热忱\nI am on my way but I got loopholes\n奔赴前路仍有遗憾缺口",
"timeStr": "05-24",
"likedCount": 5000,
"id": 27562048,
"mp3url": "https://music.163.com/song/media/outer/url?id=27562048.mp3",
"duration": "03:59",
"lyric": "[00:00.00] 作词 : STEVEN MOHSENI,二宮 愛\n[00:00.00] 作曲 : FLY COAST\n[00:00.00](男)\n[00:05.94]Yeah\n[00:08.29]Yeah\n[00:10.43]Baby\n[00:12.93]You are all I need in this world\n[00:17.08]You mean everything to me\n[00:19.64]Come on\n[00:20.13]Baby I need you\n[00:21.80]You know I need you\n[00:22.95]Don't ever leave me\n[00:24.50]And I will never leave you\n[00:25.71]Take my hand and through this road I will lead you\n[00:28.50]I don’t understand why we can’t continue\n[00:30.97]You said you moving on\n[00:32.28]The love that we had was gone\n[00:34.13]And we tried to make it work but it just went wrong\n[00:37.04]I'm only human so I'm just so strong\n[00:39.50]I don't know if I can handle having you be gone\n[00:42.65]But sometimes I put the movies on\n[00:44.46]Reminiscing on the pictures when we were young\n[00:47.40]Yeah remember when I met you when we just begun\n[00:50.09]Everything was so simple but since become\n[00:53.58]Pain and heartbreak bickering all day\n[00:55.58]Making each other sick through the shit we all say\n[00:58.35]Wait, before we all start to put each other to blame\n[01:00.69]Just realize that we are one in the same\n[01:02.50](女)\n[01:02.60]Your love is like a fiction\n[01:05.35]Give me my heart an addiction\n[01:08.00]Now I'll need a confusion\n[01:10.75]We can find a way to go on\n[01:13.55]Separation\n[01:15.35]I'm on my way I can't move on\n[01:18.00]But let me tell you baby\n[01:20.30]You are all I need\n[01:24.34](男)\n[01:24.35]Baby I need you\n[01:26.26]You know that I need you\n[01:26.95]I don’t wanna lose you\n[01:28.00]I do not wanna leave you\n[01:29.64]You tell me that you love me and l wanna believe you\n[01:32.33]You tell me that you love me and l wanna believe you\n[01:34.92]But I don’t even know\n[01:36.27]There's something in your eyes that show\n[01:38.42]That there isn't any love no more\n[01:40.07]All I found is pain\n[01:41.61]And I know cause I feel the same\n[01:43.44]It's so funny what our love became\n[01:46.72]Uh instead of sunshine there’s only rain\n[01:49.00]And instead of feeling pride now there’s only shame\n[01:502]You know I still got your picture inside that frame\n[01:54.56]But last night I couldn’t take it threw it in that flame\n[01:57.34]Pain and heartbreak bickering all day\n[01:59.82]Making each other sick with the **** we all say\n[02:02.36]Wait, before we all start to put each other to blame\n[02:04.71]let’s realize that we are one in the same\n[02:06.60](女)\n[02:07.36]Your love is like a fiction\n[02:09.19]Give me my heart an addiction\n[02:11.86]Now I'll need a confusion\n[02:14.69]We can find a way to go on\n[02:16.95]Separation\n[02:19.85]I'm on my way I can't move on\n[02:23.16]But let me tell you baby\n[02:24.80]You are all I need\n[02:28.50](instrument)\n[02:52.40]Ohhhhh\n[02:54.53]Yeaaaahhhh\n[03:00.19]You are all I need\n[03:02.80]You are all I see\n[03:08.00]You are all I need\n[03:10.67]You are all I need\n[03:13.29]Fiction gimme my heart an addiction\n[03:15.59]Now I'll need a confusion\n[03:18.63]We can find a way to go on\n[03:21.82]Separation\n[03:23.39]I'm on my way I can't move on\n[03:26.20]But let me tell you baby\n[03:28.50]You are all I need\n[03:31.23]Your love is like a fiction\n[03:34.58]Give me my heart an addiction\n[03:37.28]Now I'll need a confusion\n[03:39.80]We can find a way\n[03:42.96]Separation\n[03:44.92]I'm on my way I can't move on\n[03:47.52]But let me tell you baby\n[03:49.98]You are all I need\n",
"tips": "会员歌曲无法播放"
}
错误码格式说明:
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 | string | 返回的状态码(成功) |
| 500 | string | 返回的状态码(失败) |
代码示例:
无