Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.44 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.44 KB

wnm

一个好用的网易云音乐 Node.js SDK。

npm npm npm codebeat badge Maintainability Test Coverage Build Status

安装使用

国际惯例:

npm install wnm --save
# 或者
yarn add wnm

示例:

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

通过支付宝捐赠:

qr