• Stars
    star
    254
  • Rank 160,264 (Top 4 %)
  • Language
    TypeScript
  • Created almost 5 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

咪咕音乐 nodejs api

QQMusicApi

NPM github GitHub Pages Star

接口参考:

接口文档 Github

快速上手

Node 服务

git clone [email protected]:jsososo/MiguMusicApi.git

yarn

yarn start

npm

yarn add migu-music-api

接口调用

const miguMusic = require('migu-music-api').default;
// or
// import miguMusic from 'migu-music-api';

// 部分接口依赖 cookie, 这里穿参可以使用字符串或对象
miguMusic('search', { keyword: '周杰伦' })
  .then((res) => console.log(res))
  .catch((err) => console.error('err: ', err.message));

miguMusic('search')
  .then((res) => console.log(res))
  .catch((err) => console.error('err: ', err.message));