v3.10.1增加删除动态接口

This commit is contained in:
binaryify 2019-05-08 14:46:30 +08:00
parent 634a8a856b
commit f73130f5af
5 changed files with 26 additions and 2 deletions

View File

@ -1,7 +1,9 @@
# 更新日志
### 3.10.0 | 2019.05.08
### 3.10.1 | 2019.05.08
- 增加转发动态接口
- 增加删除动态接口
### 3.9.0 | 2019.05.03
- 新增 云盘歌曲删除, 热门话题, 电台 - 推荐类型, 电台 - 非热门类型, 电台 - 今日优选, 心动模式/智能播放等接口

View File

@ -126,6 +126,7 @@
103. 电台 - 今日优选
104. 心动模式/智能播放
105. 转发动态
106. 删除动态
## 环境要求

View File

@ -121,6 +121,7 @@
103. 电台 - 今日优选
104. 心动模式/智能播放
105. 转发动态
106. 删除动态
## 安装
@ -514,6 +515,15 @@ tags:歌单tag
![](https://ws4.sinaimg.cn/large/006tNc79gy1g2trwz8o2gj31b20r6t9n.jpg)
![](https://ws3.sinaimg.cn/large/006tNc79gy1g2trxa0vlej319u0gyjrq.jpg)
### 删除用户动态
说明 : 登陆后调用此接口 ,可以删除用户动态
**必选参数 :** `evId` : 动态 id
**接口地址 :** `/event/del`
**调用例子 :** `/event/del?evId=6712917601`
### 获取动态评论
说明 : 登陆后调用此接口 , 可以获取动态下评论

11
module/event_del.js Normal file
View File

@ -0,0 +1,11 @@
// 删除动态
module.exports = (query, request) => {
const data = {
id: query.evId,
}
return request(
'POST', `https://music.163.com/eapi/event/delete`, data,
{crypto: 'weapi', cookie: query.cookie, proxy: query.proxy}
)
}

View File

@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "3.10.0",
"version": "3.10.1",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",