Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
amywang_xiannv
NeteaseCloudMusicApi
提交
b7f8d9d3
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,发现更多精彩内容 >>
提交
b7f8d9d3
编写于
6月 03, 2020
作者:
B
binaryify
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增歌曲排序接口
上级
f420959d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
46 addition
and
6 deletion
+46
-6
CHANGELOG.MD
CHANGELOG.MD
+3
-0
docs/README.md
docs/README.md
+22
-5
module/song_order_update.js
module/song_order_update.js
+20
-0
package.json
package.json
+1
-1
未找到文件。
CHANGELOG.MD
浏览文件 @
b7f8d9d3
# 更新日志
### 3.32.1 | 2020.06.03
-
新增歌曲排序接口
### 3.32.0 | 2020.06.03
-
更新排行榜接口,支持传入榜单id
-
新增榜单顺序调整接口
[
#806
](
https://github.com/Binaryify/NeteaseCloudMusicApi/issues/806
)
...
...
docs/README.md
浏览文件 @
b7f8d9d3
...
...
@@ -516,7 +516,8 @@ signature:用户签名
### 更新歌单
说明 : 登陆后调用此接口,可以更新用户歌单
参数:
**必选参数 :**
```
id:歌单id
...
...
@@ -534,8 +535,8 @@ tags:歌单tag ,多个用 `;` 隔开,只能用官方规定标签
### 更新歌单描述
说明 : 登陆后调用此接口,可以单独更新用户歌单描述
参数:
**必选参数 :**
```
id:歌单id
...
...
@@ -548,7 +549,8 @@ desc:歌单描述
### 更新歌单名
说明 : 登陆后调用此接口,可以单独更新用户歌单名
参数:
**必选参数 :**
```
id: 歌单id
...
...
@@ -562,7 +564,8 @@ name: 歌单名
### 更新歌单标签
说明 : 登陆后调用此接口,可以单独更新用户歌单标签
参数:
**必选参数 :**
```
id: 歌单id
...
...
@@ -576,7 +579,8 @@ tags: 歌单标签
### 调整歌单顺序
说明 : 登陆后调用此接口,可以根据歌单id顺序调整歌单顺序
参数:
**必选参数 :**
`ids`
: 歌单id列表
...
...
@@ -585,6 +589,19 @@ tags: 歌单标签
**调用例子 :**
`/playlist/order/update?ids=[111,222]`
### 调整歌曲顺序
说明 : 登陆后调用此接口,可以根据歌曲id顺序调整歌曲顺序
**必选参数 :**
`pid`
: 歌单id
`ids`
: 歌曲id列表
**接口地址 :**
`/song/order/update`
**调用例子 :**
`/song/order/update?pid=2039116066&ids=[5268328,1219871]`
### 获取用户电台
说明 : 登陆后调用此接口 , 传入用户 id, 可以获取用户电台
...
...
module/song_order_update.js
0 → 100644
浏览文件 @
b7f8d9d3
// 更新歌曲顺序
module
.
exports
=
(
query
,
request
)
=>
{
const
data
=
{
pid
:
query
.
pid
,
trackIds
:
query
.
ids
,
op
:
'
update
'
,
}
console
.
log
(
data
)
return
request
(
'
POST
'
,
`http://interface.music.163.com/api/playlist/manipulate/tracks`
,
data
,
{
crypto
:
'
weapi
'
,
cookie
:
query
.
cookie
,
proxy
:
query
.
proxy
,
url
:
'
/api/playlist/desc/update
'
}
)
}
\ No newline at end of file
package.json
浏览文件 @
b7f8d9d3
{
"name"
:
"NeteaseCloudMusicApi"
,
"version"
:
"3.32.
0
"
,
"version"
:
"3.32.
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录