https://github.com/willin/wnm
网易云音乐SDK / Netease Cloud Music SDK for node
https://github.com/willin/wnm
netease-cloud-music netease-music sdk
Last synced: 5 months ago
JSON representation
网易云音乐SDK / Netease Cloud Music SDK for node
- Host: GitHub
- URL: https://github.com/willin/wnm
- Owner: willin
- License: mit
- Created: 2018-11-06T12:04:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T02:58:12.000Z (over 3 years ago)
- Last Synced: 2025-10-13T00:27:57.252Z (8 months ago)
- Topics: netease-cloud-music, netease-music, sdk
- Language: JavaScript
- Size: 910 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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);
```
## 接口文档
参考:
## License
MIT
通过支付宝捐赠:
