Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
amywang_xiannv
NeteaseCloudMusicApi
提交
936f66d8
N
NeteaseCloudMusicApi
项目概览
amywang_xiannv
/
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,发现更多精彩内容 >>
提交
936f66d8
编写于
8月 21, 2019
作者:
B
binaryify
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复推荐歌单和网易出品mv参数错误,更新文档 fixed #571 #572
上级
92a194ac
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
15 addition
and
5 deletion
+15
-5
CHANGELOG.MD
CHANGELOG.MD
+3
-0
docs/README.md
docs/README.md
+9
-2
module/mv_exclusive_rcmd.js
module/mv_exclusive_rcmd.js
+1
-1
module/personalized.js
module/personalized.js
+1
-1
package.json
package.json
+1
-1
未找到文件。
CHANGELOG.MD
浏览文件 @
936f66d8
# 更新日志
### 3.21.1 | 2019.08.21
-
修复推荐歌单和网易出品mv参数错误,更新文档
[
#571
](
https://github.com/Binaryify/NeteaseCloudMusicApi/issues/571
)
[
#572
]
(https://github.com/Binaryify/NeteaseCloudMusicApi/issues/572)
### 3.21.0 | 2019.08.20
-
新增
`歌单删除接口`
[
#570
](
https://github.com/Binaryify/NeteaseCloudMusicApi/issues/570
)
...
...
docs/README.md
浏览文件 @
936f66d8
...
...
@@ -666,7 +666,7 @@ tags: 歌单标签
**调用例子 :**
`/hot/topic?limit=30&offset=30`
### 心动模式/智能播放
说明 : 调用此接口 , 可获取心动模式/智能播放列表
说明 :
登录后
调用此接口 , 可获取心动模式/智能播放列表
**必选参数 :**
`id`
: 歌曲 id
`pid`
: 歌单 id
...
...
@@ -1762,9 +1762,16 @@ mp3url 不能直接用 , 可通过 `/song/url` 接口传入歌曲 id 获取具
说明 : 调用此接口 , 可获取推荐歌单
**可选参数 :**
`limit`
: 取出数量 , 默认为 30
`offset`
: 偏移数量 , 用于分页 , 如 :( 页数 -1)
\*
30, 其中 30 为 limit 的值 , 默认
为 0
**接口地址 :**
`/personalized`
**调用例子 :**
`/personalized`
**调用例子 :**
`/personalized?limit=1`
### 推荐新音乐
...
...
module/mv_exclusive_rcmd.js
浏览文件 @
936f66d8
...
...
@@ -2,7 +2,7 @@
module
.
exports
=
(
query
,
request
)
=>
{
const
data
=
{
offset
:
query
.
limi
t
||
0
,
offset
:
query
.
offse
t
||
0
,
limit
:
query
.
limit
||
30
};
return
request
(
...
...
module/personalized.js
浏览文件 @
936f66d8
...
...
@@ -3,7 +3,7 @@
module
.
exports
=
(
query
,
request
)
=>
{
const
data
=
{
limit
:
query
.
limit
||
30
,
offset
:
query
.
limi
t
||
0
,
offset
:
query
.
offse
t
||
0
,
total
:
true
,
n
:
1000
}
...
...
package.json
浏览文件 @
936f66d8
{
"name"
:
"NeteaseCloudMusicApi"
,
"version"
:
"3.21.
0
"
,
"version"
:
"3.21.
1
"
,
"description"
:
"网易云音乐 NodeJS 版 API"
,
"scripts"
:
{
"start"
:
"node app.js"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录