Skip to main content

QQ音乐API封装库

Project description


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

音乐平台不易,请尊重版权,支持正版。

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

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

介绍

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

特色

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

依赖

  • Cryptography
  • HTTPX
  • aiocache
  • orjson

快速上手

安装

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())

Web API

docker build . -t qq-music-api
docker run -d -p 8000:8000 qq-music-api

Licence

本项目基于 MIT License 许可证发行。

免责声明

由于使用本项目产生的包括由于本协议或由于使用或无法使用本项目而引起的任何性质的任何直接、间接、特殊、偶然或结果性损害(包括但不限于因商誉损失、停工、计算机故障或故障引起的损害赔偿,或任何及所有其他商业损害或损失)由使用者负责

贡献者

Contributor

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qqmusic_api_python-0.3.3.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qqmusic_api_python-0.3.3-py3-none-any.whl (39.5 kB view details)

Uploaded Python 3

File details

Details for the file qqmusic_api_python-0.3.3.tar.gz.

File metadata

  • Download URL: qqmusic_api_python-0.3.3.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.6

File hashes

Hashes for qqmusic_api_python-0.3.3.tar.gz
Algorithm Hash digest
SHA256 cb8eca1dc6cbc78bfebb0d47248ea5e525cbeba3d916e2148f2b5750b0ec7771
MD5 d577aacc302da70ac9a9ea3de8231351
BLAKE2b-256 bb1ededfbdbee2eb4cc2f5bdf8dea0c03f1725846b9d0c0b752ebaed9409fd9f

See more details on using hashes here.

File details

Details for the file qqmusic_api_python-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for qqmusic_api_python-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2fadf7e85e5c51564c07cad44ecc882068f69932b3f05504857a86d7c75822d9
MD5 c4b05f791b21c682b6b0e3b2a27331c9
BLAKE2b-256 dde885b56237637bdabb5c61f9ff77274be65fbd51120b39a24d8137de9e9d6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page