• This repository has been archived on 09/May/2022
  • Stars
    star
    272
  • Rank 151,235 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🎵 A simple netease music api lib. 简单、统一、轻巧的 Node.js 版网易云音乐 API

simple-netease-cloud-music

GitHub stars   npm   GitHub issues   license

NPM

能做什么

简单、统一、轻巧的 Node.js 版网易云音乐 API。

  • 简单:8个常用接口
  • 统一:标准 Promise API
  • 轻巧:不依赖任何第三方库

贡献者

核心逻辑的实现参考 PHP 版本的 Meting 项目。

核心的 API 类的逻辑来自于 张小张同学

最新更新

若 API playlist 数据出现异常,可暂时使用 API _playlist

怎么用

npm i simple-netease-cloud-music --save
const NeteaseMusic = require('simple-netease-cloud-music')
const nm = new NeteaseMusic()

// 当然,你也可以通过以下方式来定义模块使用的 cookie
const nm = new NeteaseMusic({
  cookie: '__Your_Cookies__'
})

nm.search('一人饮酒醉').then(data => {
  console.log('歌曲搜索', data)
})

nm.playlist('751387161').then(data => {
  console.log('歌单', data)
})

nm.picture('19124905253588326', 400).then(data => {
  console.log('图片地址', data)
})

nm.artist('4130').then(data => {
  console.log('艺术家', data)
})

nm.album('35327877').then(data => {
  console.log('歌单', data)
})

nm.lyric('479403027').then(data => {
  console.log('歌词', data)
})

nm.url('479403027').then(data => {
  console.log('歌曲地址', data)
})

nm.song('479403027').then(data => {
  console.log('歌曲详情', data)
})

测试开发

yarn dev
yarn lint
yarn test
yarn build

License

MIT

More Repositories

1

vue-awesome-swiper

🏆 Swiper component for @vuejs
JavaScript
12,800
star
2

vue-quill-editor

@quilljs editor component for @vuejs(2)
JavaScript
7,368
star
3

videojs-player

@videojs player component for @vuejs(3) and React.
TypeScript
5,203
star
4

vue-codemirror

@codemirror code editor component for @vuejs
TypeScript
3,217
star
5

surmon.me

🌱 My digital garden, powered by myself.
Vue
2,091
star
6

nodepress

🟢 RESTful API service for https://surmon.me blog, powered by @nestjs
TypeScript
1,422
star
7

surmon.me.native

📱 My blog app, powered by react-native
TypeScript
620
star
8

vue-touch-ripple

A ink-ripple effect component for @vuejs
TypeScript
480
star
9

angular-admin

🔏 Admin client for surmon.me blog powered by @angular and Bootstrap4
TypeScript
354
star
10

ngx-quill-editor

🍡@quilljs editor component for @angular
TypeScript
232
star
11

surmon-china.github.io

My GitHub repositories homepage.
Vue
221
star
12

naivebayes

NaiveBayes classifier for JavaScript
JavaScript
142
star
13

vue-drag-zone

Drag Zone component for @vuejs
JavaScript
129
star
14

surmon.admin

🔏 Admin client for surmon.me blog, powered by React & @veactjs
TypeScript
61
star
15

mongodb-data-api

MongoDB Atlas Data API SDK for @nodejs
TypeScript
40
star
16

emoji-233333

😂 2333333
JavaScript
38
star
17

sre.surmon.me

💻 SRE service for Surmon.me blog.
HTML
34
star
18

vue2any

把 vue 组件转换为任何 web 类模板
JavaScript
33
star
19

wonderful-bing-wallpaper

🌅 Simple bing daily wallpaper API lib for Node.js.
TypeScript
31
star
20

vuniversal

[WIP] Create vue (3) universal web applications quickly by @vitejs.
TypeScript
19
star
21

surmon-china

About me
JavaScript
16
star
22

wordpress-theme-one

🎨 A blog theme for @wordpress
CSS
16
star
23

libundler

📦 Universal JavaScript library bundler, powered by @rollup.
TypeScript
14
star
24

developer-code-guide

🗒Developer code guide.
12
star
25

README.vue

Design your README.md by @vuejs component.
Vue
11
star
26

wordpress-theme-surmon

🎨 A blog theme for @wordpress
PHP
10
star
27

surmon.me.flutter

📱 My blog app powered by @flutter (The repositorie has been deprecated)
Dart
9
star
28

wordpress-theme-metro

🎨 A blog theme for @wordpress
PHP
9
star
29

javascript-gobang

⚫Javascript gobang game
HTML
9
star
30

nurse.js

My lib.
JavaScript
9
star
31

jquery-dragZone

jQuery 拖拽改变div大小效果
HTML
7
star
32

better-itg-flat-dark-vscode-theme

Better itg.flat.dark theme for vscode. Base on Sublime Text
7
star
33

wordpress-theme-think

🎨 A cms theme for @wordpress
PHP
7
star
34

coolcut

cool cut psd file
JavaScript
5
star
35

chrome-tmall-rate-thumb-extend

⚾️ 增加在天猫商品评价页显示原图及图片旋转操作功能
JavaScript
5
star
36

action-ssl-cert-expiry-checker

Check SSL certificate expiry time for your domains
JavaScript
3
star
37

ifttt

IFTTT SPACE
1
star
38

.github

GitHub
1
star