From fee4eb7072e214d13289ed1b0bce9d7be39bdb59 Mon Sep 17 00:00:00 2001 From: binaryify Date: Sat, 12 Sep 2020 13:34:45 +0800 Subject: [PATCH] =?UTF-8?q?TypeScript=20=E5=A3=B0=E6=98=8E=E6=96=87?= =?UTF-8?q?=E4=BB=B6=20#908,=20=E6=9B=B4=E6=94=B9=E9=9A=8F=E6=9C=BA=20UA?= =?UTF-8?q?=20=E7=9B=B8=E5=85=B3=E9=80=BB=E8=BE=91=20#922?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.MD | 4 +++ README.MD | 84 ++++++++++++++++++++++++++++++---------------------- package.json | 2 +- 3 files changed, 53 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 0cc8a06f515..ee3e0b5a480 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,4 +1,8 @@ # 更新日志 +### 3.40.0 | 2020.09.12 +- 新增 TypeScript 声明文件 [#908](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/908) +- 更改随机 UA 相关逻辑[#922](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/922) + ### 3.39.0 | 2020.08.23 - 新增`cloudsearch`接口[#893](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/893) - `mv 地址`接口修改分辨率参数 [#883](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/883) diff --git a/README.MD b/README.MD index 95b5731d687..020a6691e01 100644 --- a/README.MD +++ b/README.MD @@ -18,6 +18,54 @@ [sqaiyan/netmusic-node](https://github.com/sqaiyan/netmusic-node) + +## 环境要求 + +需要 NodeJS 8.12+ 环境 + +## 安装 + +```shell + +$ git clone git@github.com:Binaryify/NeteaseCloudMusicApi.git + +$ npm install +``` + +或者 +```shell +$ git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git + +$ npm install +``` + +## 运行 + +```shell +$ node app.js +``` + +服务器启动默认端口为 3000,若不想使用 3000 端口,可使用以下命令: Mac/Linux + +```shell +$ PORT=4000 node app.js +``` + +windows 下使用 git-bash 或者 cmder 等终端执行以下命令: + +```shell +$ set PORT=4000 && node app.js +``` + +## 使用文档 + +[文档地址](https://binaryify.github.io/NeteaseCloudMusicApi) + +[文档地址2](https://neteasecloudmusicapi.vercel.app) + +![文档](https://raw.githubusercontent.com/Binaryify/NeteaseCloudMusicApi/master/static/docs.png) + + ## 功能特性 1. 登录 2. 刷新登录 @@ -185,42 +233,6 @@ 164. 更新头像 165. 歌单封面上传 -## 环境要求 - -需要 NodeJS 8.12+ 环境 - -## 安装 - -```shell -$ git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git -$ npm install -``` - -## 运行 - -```shell -$ node app.js -``` - -服务器启动默认端口为 3000,若不想使用 3000 端口,可使用以下命令: Mac/Linux - -```shell -$ PORT=4000 node app.js -``` - -windows 下使用 git-bash 或者 cmder 等终端执行以下命令: - -```shell -$ set PORT=4000 && node app.js -``` - -## 使用文档 - -[文档地址](https://binaryify.github.io/NeteaseCloudMusicApi) - -[文档地址2](https://neteasecloudmusicapi.vercel.app) - -![文档](https://raw.githubusercontent.com/Binaryify/NeteaseCloudMusicApi/master/static/docs.png) ## 更新日志 diff --git a/package.json b/package.json index f739e262a90..6597965d1cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NeteaseCloudMusicApi", - "version": "3.39.0", + "version": "3.40.0", "description": "网易云音乐 NodeJS 版 API", "scripts": { "start": "node app.js",