Skip to content

luren-dc/QQMusicApi

Repository files navigation

QQMusicApi

Python QQ音乐 API 封装库

Python Ruff pdm-managed GitHub license STARS Testing

Warning

本仓库的所有内容仅供学习和参考之用,禁止用于商业用途

文档: https://luren-dc.github.io/QQMusicApi

源代码: https://github.com/luren-dc/QQMusicApi

介绍

使用 Python 编写的用于调用 QQ音乐 各种 API 的库.

特色

  • 涵盖常见 API
  • 调用简便,函数命名易懂,代码注释详细
  • 异步操作

依赖

快速上手

安装

pip install qqmusic-api-python

使用

import asyncio

from qqmusic_api import search

async def main():
    # 搜索歌曲
    result = await search.search_by_type(keyword="周杰伦", num=20)
    # 打印结果
    print(result)

asyncio.run(main())

参考项目

API

Readme Card Readme Card

QRC 解密

Readme Card

项目架构

Readme Card

Licence

MIT License