From 8e7c7c553155cbe9c44ec61473a48cd1d53a2c52 Mon Sep 17 00:00:00 2001 From: binaryify Date: Fri, 28 May 2021 09:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=91=E8=B4=9D=E6=8E=A8?= =?UTF-8?q?=E6=AD=8C=E6=8E=A5=E5=8F=A3,=E4=BA=91=E8=B4=9D=E6=8E=A8?= =?UTF-8?q?=E6=AD=8C=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=20#1246?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 3 +++ README.MD | 2 ++ docs/README.md | 2 ++ interface.d.ts | 15 +++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 25 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 671d90b..9e7af87 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,7 @@ # 更新日志 +### 4.0.14 | 2021.5.28 +- 增加云贝推歌接口,云贝推歌历史记录接口 [#1246](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1246) + ### 4.0.13 | 2021.5.24 - 修复解析问题,改善 Docker 支持 [#1241](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/1241) ### 4.0.12 | 2021.5.1 diff --git a/README.MD b/README.MD index f5aafc9..bb6107c 100644 --- a/README.MD +++ b/README.MD @@ -318,6 +318,8 @@ banner({ type:0 }).then(res=>{ 204. 一起听状态 205. 用户历史评论 206. 云盘歌曲信息匹配纠正 +207. 云贝推歌 +208. 云贝推歌历史记录 ## 更新日志 diff --git a/docs/README.md b/docs/README.md index c30ff9e..e2a4865 100644 --- a/docs/README.md +++ b/docs/README.md @@ -222,6 +222,8 @@ 204. 一起听状态 205. 用户历史评论 206. 云盘歌曲信息匹配纠正 +207. 云贝推歌 +208. 云贝推歌历史记录 ## 安装 diff --git a/interface.d.ts b/interface.d.ts index 9b134e2..8fe8db0 100644 --- a/interface.d.ts +++ b/interface.d.ts @@ -1428,3 +1428,18 @@ export function cloud_match( asid: number | string } & RequestBaseConfig, ): Promise + + +export function yunbei_rcmd_song( + params: { + id: number | string + reason?: number | string + } & RequestBaseConfig, +): Promise + +export function yunbei_rcmd_song_history( + params: { + size?: number | string + cursor?: number | string + } & RequestBaseConfig, +): Promise diff --git a/package-lock.json b/package-lock.json index c6a664c..1270f20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "NeteaseCloudMusicApi", - "version": "4.0.12", + "version": "4.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "4.0.12", + "version": "4.0.14", "license": "MIT", "dependencies": { "axios": "^0.21.1", diff --git a/package.json b/package.json index e0e21bc..6f61ec4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "4.0.13", + "version": "4.0.14", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js", -- GitLab