Home

Awesome

<h1 align="center">QQ Music API</h1> <div align="center"> <img src='music.png' />

GitHub watchers GitHub stars GitHub forks <br /> node <br /> GitHub repo size GitHub package.json version GitHub GitHub open issues GitHub closed issues GitHub last commit GitHub top language

</div>

QQ音乐API koa2 版本, 通过Web网页版请求QQ音乐接口数据, 有问题请提 issue

当前代码仅共学习,不可做商业用途

API结构图

目前暂时没有时间做登录模块的接口,欢迎各位大佬给我PR, 阿里嘎多

qq-music

环境要求

因为本项目采用的是koa2, 所以请确保你的node版本是7.6.0+

node -v

📦 安装

git clone git@github.com:Rain120/qq-music-api.git
cd qq-music-api
npm install

🔨项目启动

// npm i -g nodemon
npm run start

// or don't install nodemon
node app.js

项目监听端口是3200

🐳 Docker

# local local build
npm run build:local-images

# local remote build
npm run build:remote-images

# build images
npm run build:images

# local run
npm run run:images

# remote run
docker pull qq-music-api

功能特性

使用文档

使用apis详见文档

关于项目

灵感来自

Binaryify/NeteaseCloudMusicApi

Vue2.0开发企业级移动端音乐Web App

参考内容

Koa 2

Axios

阮一峰老师 - HTTP Referer 教程

项目不足

  1. 因为本人没写过unit test, 所以本项目尚未添加unit test, 等有时间再添加;

  2. 登录获取个人信息等接口都没做

🤝 贡献 PR

We welcome all contributions. You can submit any ideas as pull requests or as a GitHub issue.

👨‍🏭 作者

Front-End development engineer, technology stack: React + Typescript + Mobx, also used Vue + Vuex for a while

📝 License

MIT

Copyright © 2019-present Rain120.