TypeScript 声明文件 #908, 更改随机 UA 相关逻辑 #922

This commit is contained in:
binaryify 2020-09-12 13:34:45 +08:00
parent 0fced69244
commit fee4eb7072
3 changed files with 53 additions and 37 deletions

View File

@ -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)

View File

@ -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)
## 更新日志

View File

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