Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

NeteaseCloudMusicApi

Package Overview
Dependencies
Maintainers
1
Versions
336
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

NeteaseCloudMusicApi

网易云音乐nodejs版接口模块

  • 1.5.2
  • npm
  • Socket score

Version published
Weekly downloads
612
decreased by-54.5%
Maintainers
1
Weekly downloads
 
Created
Source

NeteaseCloudMusicApi

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

Version License devDependencies devDependencies

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

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

说明:onlySong默认为true,如果为false,则返回一个对象,包含songs和mvs,songs和mvs均为数组

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)

Keywords

FAQs

Package last updated on 15 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc