New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

NeteaseCloudMusicApi

Package Overview
Dependencies
Maintainers
1
Versions
336
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

NeteaseCloudMusicApi - npm Package Compare versions

Comparing version 2.8.9 to 2.9.0

4

CHANGELOG.MD
# 更新日志
### 2.9.0 | 2018.01.26
docker 构建文件的一些增强以及增加访问日志和调试输出
### 2.8.9 | 2018.01.24

@@ -4,0 +8,0 @@

14

package.json
{
"name": "NeteaseCloudMusicApi",
"version": "2.8.9",
"version": "2.9.0",
"description": "网易云音乐 NodeJS 版 API",

@@ -11,13 +11,5 @@ "scripts": {

"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
"*.js": ["prettier --write", "git add"]
},
"keywords": [
"网易云音乐",
"网易云",
"音乐",
"网易云音乐nodejs"
],
"keywords": ["网易云音乐", "网易云", "音乐", "网易云音乐nodejs"],
"author": "",

@@ -24,0 +16,0 @@ "license": "MIT",

# 网易云音乐 API
网易云音乐 Node.js API service
<p>

@@ -12,2 +14,3 @@ <a href="https://www.npmjs.com/package/NeteaseCloudMusicApi"><img src="https://img.shields.io/npm/v/NeteaseCloudMusicApi.svg" alt="Version"></a>

## 灵感来自
[disoul/electron-cloud-music](https://github.com/disoul/electron-cloud-music)

@@ -19,85 +22,117 @@

## 版本新特性
## 版本新特性
### 2.9.0 | 2018.01.26
docker 构建文件的一些增强以及增加访问日志和调试输出
### 2.8.2 | 2018.01.05
增加Dockerfile,支持以Docker容器模式运行
增加 Dockerfile,支持以 Docker 容器模式运行
### 2.8.1 | 2018.01.04
添加了proxy功能
添加了 proxy 功能
### 2.8.0 | 2018.01.04
用 'request' 重写了请求函数
### 2.6.5 | 2017.7.16
优化 CORS 设置
### 2.6.4 | 2017.7.16
添加缓存机制和随机 UA 机制 感谢[@u3u](https://github.com/u3u)
[issue:77](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/77)
优化请求代码 感谢 [@huhuime](https://github.com/huhuime)
[issue:77](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/77) 优化请求
代码 感谢 [@huhuime](https://github.com/huhuime)
[issue:83](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/83)
### 2.6.2 | 2017.7.16
修复垃圾桶接口
### 2.6.1 | 2017.7.16
修复红心接口
### 2.6.0 | 2017.6.25
修复签到接口
### 2.5.9 | 2017.6.14
增加启动说明页
### 2.5.8 | 2017.6.1
修复若干细节问题
### 2.5.7 | 2017.5.22
修复若干问题
### 2.5.6 | 2017.5.14
增加动态消息接口
### 2.5.5 | 2017.5.10
修复 mv 排行榜接口崩溃问题
### 2.5.4 | 2017.5.5
新增点赞接口,更新文档
### 2.5.3 | 2017.5.2
修复歌手单曲数据空白问题和文档获取歌手单曲url 描述问题,更新文档
修复歌手单曲数据空白问题和文档获取歌手单曲 url 描述问题,更新文档
### 2.5.0 | 2017.4.29
增加 mv/专辑/歌单评论接口,增加云盘相关接口,增加获取用户动态/信息接口,增加关注/粉丝列表接口,增加收藏歌单接口,增加相似 mv/歌曲/用户接口,增加 banner 接口,增加刷新登录接口,增加电台相关接口,补充评论接口,更新文档
增加 mv/专辑/歌单评论接口,增加云盘相关接口,增加获取用户动态/信息接口,增加关注/粉
丝列表接口,增加收藏歌单接口,增加相似 mv/歌曲/用户接口,增加 banner 接口,增加刷新
登录接口,增加电台相关接口,补充评论接口,更新文档
### 2.4.6 | 2017.4.21
增加播放 mv 接口,更新文档
### 2.4.5 | 2017.4.20
增加歌手专辑,歌手单曲等接口,修复/album 接口描述错误,更新文档
### 2.4.0 | 2017.4.20
增加歌单(网友精选碟),新碟上架,热门歌手等接口,更新文档
### 2.3.4 | 2017.4.20
增加歌曲详情接口,更新文档
### 2.3.0 | 2017.4.15
增加排行榜接口,更新文档
### 2.2.0 |2017.4.14
增加私人 FM, 喜欢歌曲,垃圾桶,每日签到等接口,更新文档
### 2.1.3 | 2017.4.6
改善文档
### 2.1.0 | 2017.4.6
增加获取评论接口以及对应单元测试,增加更新日志
### 2.0.0 | 2017.4.1
版本升级到 2.0.增加使用文档,完成项目重构,增加更完善的单元测试,升级 api 到 v2+,支持登录并获取用户信息和创建的歌单,可通过获取音乐 url 接口获取用户歌单里的的音乐,获取每日推荐歌单和每日推荐音乐
版本升级到 2.0.增加使用文档,完成项目重构,增加更完善的单元测试,升级 api 到 v2+,支
持登录并获取用户信息和创建的歌单,可通过获取音乐 url 接口获取用户歌单里的的音乐,
获取每日推荐歌单和每日推荐音乐
## 功能特性
## 功能特性
1. 登录

@@ -165,15 +200,20 @@ 2. 刷新登录

## 环境要求
需要 NodeJS 6.0+ 环境
## 安装
``` shell
```shell
$ git clone git@github.com:Binaryify/NeteaseCloudMusicApi.git
$ npm install
```
## 运行
``` shell
```shell
$ node app.js
```
服务器启动默认端口为3000,若不想使用3000端口,可使用以下命令:
Mac/Linux
服务器启动默认端口为 3000,若不想使用 3000 端口,可使用以下命令: Mac/Linux
```shell

@@ -184,2 +224,3 @@ $ PORT=4000 node app.js

windows 下使用 git-bash 或者 cmder 等终端执行以下命令:
```shell

@@ -189,3 +230,4 @@ $ set PORT=4000 && node app.js

## Docker容器运行
## Docker 容器运行
```shell

@@ -197,2 +239,3 @@ docker pull pengxiao/netease-music-api

## 使用文档
[文档地址](https://binaryify.github.io/NeteaseCloudMusicApi)

@@ -203,2 +246,3 @@

## 更新日志
[changelog](https://github.com/Binaryify/NeteaseCloudMusicApi/blob/master/CHANGELOG.MD)

@@ -208,3 +252,3 @@

``` shell
```shell
$ npm test

@@ -217,2 +261,3 @@ ```

## License
[The MIT License (MIT)](https://github.com/Binaryify/NeteaseCloudMusicApi/blob/master/LICENSE)

@@ -5,3 +5,3 @@ const Encrypt = require("./crypto.js");

// request.debug = true;
request.debug = true;

@@ -66,5 +66,9 @@ function randomUserAgent() {

};
console.log(
`[request] ${options.method} ${options.url} proxy:${options.proxy}`
);
request(options, function(error, res, body) {
if (error) {
console.error(error);
errorcallback(error);

@@ -71,0 +75,0 @@ } else {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc