Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Vanishing597
NeteaseCloudMusicApi
提交
c6d3fd95
N
NeteaseCloudMusicApi
项目概览
Vanishing597
/
NeteaseCloudMusicApi
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
NeteaseCloudMusicApi
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c6d3fd95
编写于
1月 22, 2018
作者:
B
binaryify
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
去除多余代码
上级
79489a40
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
50 addition
and
54 deletion
+50
-54
CHANGELOG.MD
CHANGELOG.MD
+1
-1
docs/README.md
docs/README.md
+3
-1
package.json
package.json
+1
-1
router/simi_playlist.js
router/simi_playlist.js
+15
-17
router/simi_song.js
router/simi_song.js
+15
-17
router/simi_user.js
router/simi_user.js
+15
-17
未找到文件。
CHANGELOG.MD
浏览文件 @
c6d3fd95
# 更新日志
### 2.8.
7
| 2018.01.22
### 2.8.
8
| 2018.01.22
修复排行榜数据不完整的问题 , 优化部分代码 , 更新文档部分描述
...
...
docs/README.md
浏览文件 @
c6d3fd95
...
...
@@ -665,7 +665,9 @@ mp3url 不能直接用 , 可通过 `/music/url` 接口传入歌曲 id 获取具
### 相似 mv
说明 : 调用此接口 , 传入
`mvid`
可获取相似 mv
**必选参数 :**
`mvid`
: mv id
说明 : 调用此接口 , 传入
`mvid`
可获取相似 mv
**必选参数 :**
`mvid`
: mv id
**接口地址 :**
`/simi/mv`
...
...
package.json
浏览文件 @
c6d3fd95
{
"name"
:
"NeteaseCloudMusicApi"
,
"version"
:
"2.8.
7
"
,
"version"
:
"2.8.
8
"
,
"description"
:
"网易云音乐 NodeJS 版 API"
,
"scripts"
:
{
"start"
:
"node app.js"
,
...
...
router/simi_playlist.js
浏览文件 @
c6d3fd95
const
express
=
require
(
'
express
'
)
const
router
=
express
()
const
{
createWebAPIRequest
}
=
require
(
'
../util/util
'
)
const
express
=
require
(
"
express
"
);
const
router
=
express
()
;
const
{
createWebAPIRequest
}
=
require
(
"
../util/util
"
);
router
.
get
(
'
/
'
,
(
req
,
res
)
=>
{
const
cookie
=
req
.
get
(
'
Cookie
'
)
?
req
.
get
(
'
Cookie
'
)
:
''
router
.
get
(
"
/
"
,
(
req
,
res
)
=>
{
const
cookie
=
req
.
get
(
"
Cookie
"
)
?
req
.
get
(
"
Cookie
"
)
:
""
;
const
data
=
{
songid
:
req
.
query
.
id
,
offset
:
req
.
query
.
offset
||
0
,
limit
:
req
.
query
.
limit
||
50
}
songid
:
req
.
query
.
id
};
createWebAPIRequest
(
'
music.163.com
'
,
'
/weapi/discovery/simiPlaylist
'
,
'
POST
'
,
"
music.163.com
"
,
"
/weapi/discovery/simiPlaylist
"
,
"
POST
"
,
data
,
cookie
,
music_req
=>
{
res
.
send
(
music_req
)
res
.
send
(
music_req
)
;
},
err
=>
res
.
status
(
502
).
send
(
'
fetch error
'
)
)
})
err
=>
res
.
status
(
502
).
send
(
"
fetch error
"
)
)
;
})
;
module
.
exports
=
router
module
.
exports
=
router
;
router/simi_song.js
浏览文件 @
c6d3fd95
const
express
=
require
(
'
express
'
)
const
router
=
express
()
const
{
createWebAPIRequest
}
=
require
(
'
../util/util
'
)
const
express
=
require
(
"
express
"
);
const
router
=
express
()
;
const
{
createWebAPIRequest
}
=
require
(
"
../util/util
"
);
router
.
get
(
'
/
'
,
(
req
,
res
)
=>
{
const
cookie
=
req
.
get
(
'
Cookie
'
)
?
req
.
get
(
'
Cookie
'
)
:
''
router
.
get
(
"
/
"
,
(
req
,
res
)
=>
{
const
cookie
=
req
.
get
(
"
Cookie
"
)
?
req
.
get
(
"
Cookie
"
)
:
""
;
const
data
=
{
songid
:
req
.
query
.
id
,
offset
:
req
.
query
.
offset
||
0
,
limit
:
req
.
query
.
limit
||
50
}
songid
:
req
.
query
.
id
};
createWebAPIRequest
(
'
music.163.com
'
,
'
/weapi/v1/discovery/simiSong
'
,
'
POST
'
,
"
music.163.com
"
,
"
/weapi/v1/discovery/simiSong
"
,
"
POST
"
,
data
,
cookie
,
music_req
=>
{
res
.
send
(
music_req
)
res
.
send
(
music_req
)
;
},
err
=>
res
.
status
(
502
).
send
(
'
fetch error
'
)
)
})
err
=>
res
.
status
(
502
).
send
(
"
fetch error
"
)
)
;
})
;
module
.
exports
=
router
module
.
exports
=
router
;
router/simi_user.js
浏览文件 @
c6d3fd95
const
express
=
require
(
'
express
'
)
const
router
=
express
()
const
{
createWebAPIRequest
}
=
require
(
'
../util/util
'
)
const
express
=
require
(
"
express
"
);
const
router
=
express
()
;
const
{
createWebAPIRequest
}
=
require
(
"
../util/util
"
);
router
.
get
(
'
/
'
,
(
req
,
res
)
=>
{
const
cookie
=
req
.
get
(
'
Cookie
'
)
?
req
.
get
(
'
Cookie
'
)
:
''
router
.
get
(
"
/
"
,
(
req
,
res
)
=>
{
const
cookie
=
req
.
get
(
"
Cookie
"
)
?
req
.
get
(
"
Cookie
"
)
:
""
;
const
data
=
{
songid
:
req
.
query
.
id
,
offset
:
req
.
query
.
offset
||
0
,
limit
:
req
.
query
.
limit
||
50
}
songid
:
req
.
query
.
id
};
createWebAPIRequest
(
'
music.163.com
'
,
'
/weapi/discovery/simiUser
'
,
'
POST
'
,
"
music.163.com
"
,
"
/weapi/discovery/simiUser
"
,
"
POST
"
,
data
,
cookie
,
music_req
=>
{
res
.
send
(
music_req
)
res
.
send
(
music_req
)
;
},
err
=>
res
.
status
(
502
).
send
(
'
fetch error
'
)
)
})
err
=>
res
.
status
(
502
).
send
(
"
fetch error
"
)
)
;
})
;
module
.
exports
=
router
module
.
exports
=
router
;
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录