walkman-service

1.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i walkman-service

Weekly Downloads

2

Version

1.2.0

License

MIT

Unpacked Size

26.5 kB

Total Files

15

Last publish

Collaborators

  • pandagao