Skip to main content

QQ音乐API封装库

Project description


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

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

文档: https://l-1124.github.io/QQMusicApi

源代码: https://github.com/l-1124/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

License

本项目基于 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.4.0.tar.gz (41.3 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.4.0-py3-none-any.whl (45.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qqmusic_api_python-0.4.0.tar.gz
  • Upload date:
  • Size: 41.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for qqmusic_api_python-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ffe0b87f51034ba8d8578ecb28844f89c69a15caaf275666e864cb7e2c72ce8d
MD5 2a0b6c287f175759958b89442fcd235c
BLAKE2b-256 982880d9e1d030c5b2607bb7e80cd00a7a879ca85db89cd69d4fcdbda8085cf3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qqmusic_api_python-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 45.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for qqmusic_api_python-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d561c43f0ae13b3482c65fa76d78275cdd85376f63e1aa7d175b92416337b93e
MD5 b4c9d8aa87ad2c308eb6e898159d653f
BLAKE2b-256 93d55989f121669cb89dbc8c7b4290eacaaefd20b684c5a768843aa609e499ad

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