wnm
Version:
网易云音乐SDK / Netease Cloud Music SDK for node
50 lines (33 loc) • 1.47 kB
Markdown
# wnm
一个好用的网易云音乐 Node.js SDK。
[](https://npmjs.org/package/wnm) [](https://npmjs.org/package/wnm) [](https://npmjs.org/package/wnm) [](https://codebeat.co/projects/github-com-willin-wnm-master) [](https://codeclimate.com/github/willin/wnm/maintainability) [](https://codeclimate.com/github/willin/wnm/test_coverage) [](https://travis-ci.org/willin/wnm)
## 安装使用
国际惯例:
```bash
npm install wnm --save
# 或者
yarn add wnm
```
示例:
```js
const SDK = require('wnm');
// 请求: comment/hot
SDK.comment.hot({
id: 400162138,
type: 0
}).then(console.log);
// 请求: user/detail
SDK.user.detail({
uid: 32953014
}).then(console.log);
// 请求: toplist
SDK.toplist({
cookie: { os: 'pc' }
}).then(console.log);
```
## 接口文档
参考: <https://binaryify.github.io/NeteaseCloudMusicApi>
## License
MIT
通过支付宝捐赠:
