1.2.0 • Published 5 years ago

walkman-service v1.2.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Walkman Service

npm version JavaScript Style Guide

Multiple Platform music api for Node.js

Inspired

Inspired by metowolf/Meting.This project is just a Node.js implementation for a part of APIs in metowolf/Meting

Install

npm i walkman-service

Usage

const MusicService = require('walkman-service')

// Available Platforms ['kugou', 'netease', 'tencent', 'xiami']
let service = new MusicService('netease')

service.search({
  keyword: '旧词'
}).then(res => {
  let song = res.data[0]
  console.log(song)
  service.lyric(song.id).then(res => console.log(res.data))
  service.url(song.id).then(res => console.log(res.data))
})

License

MIT

1.2.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago