wnm

网易云音乐SDK / Netease Cloud Music SDK for node

Usage no npm install needed!

<script type="module">
  import wnm from 'https://cdn.skypack.dev/wnm';
</script>

README

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