Warning
本仓库的所有内容仅供学习和参考之用,禁止用于商业用途
All contents in this repo are for learning and reference only and are not allowed to be used for commercial purposes.
文档: 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())