Skip to content

ZhangDo/NeteaseCloudMusicApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeteaseCloudMusicApi

一个调用网易云音乐 API 的 node 模块

Version License devDependencies devDependencies

![](http://binaryify.github.io/images/api.jpg)

Start

npm install NeteaseCloudMusicApi

Usage

var api = require('NeteaseCloudMusicApi').api
api.search('年度之歌',function(data){
    console.log(data)
})

or

import {api} from 'NeteaseCloudMusicApi'
api.search('年度之歌',data => {
    console.log(data)
})

API

search

api.search(name:String,[callback:function,limit:Number default:3, offset:Number default:0])

lrc

api.lrc(id:Number,[callback:function,lv:Number default:-1])

song

api.song(id:Number,[callback:function])

getArtistAlbums

api.getArtistAlbums(id:Number,[callback:function,limit:Number default:3, offset:Number default:0])

getAlbums

api.getAlbums(id:Number,[callback:function])

getPlaylists

api.Playlists(id:Number,[callback:function])

License

The MIT License (MIT)

About

网易云音乐 Node.js API service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.5%
  • HTML 12.3%
  • Other 0.2%