Skip to content

Latest commit

 

History

History
120 lines (98 loc) · 2.95 KB

readme.md

File metadata and controls

120 lines (98 loc) · 2.95 KB

Centralized Node.js API for Netease, QQ, Xiami music

This SDK provide simple API interface based on Promise, netease API is get from github, qq api is get from y.qq.com and xiami api is get from xiami Mac App. Please make no commerical use of this project.

Go to musicafe.co as a production example!

npm install music-api --save

Basic usage

const musicAPI = require('music-api');

musicAPI.searchSong('netease', {
  key: '陈粒',
  limit: 10,
  page: 1,
})
  .then(res => console.log(res))
  .catch(err => console.log(err))

Run local

git clone https://github.com/LIU9293/musicAPI.git
cd musicAPI
npm install
npm run test

open browser: localhost:8080/search/song/all?key=林海

Usage

  • search songs.
  • search playlist.(xiami collects)
  • search albums.
  • get song play url.
  • get playlist detail.
  • get album detail.
  • get daily suggestions.
  • get artists' detail.
  • raw data / converted data available.

API