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
  • 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.1.tar.gz (42.0 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.1-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qqmusic_api_python-0.4.1.tar.gz
  • Upload date:
  • Size: 42.0 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.1.tar.gz
Algorithm Hash digest
SHA256 63d51d6ee0343cb121a31f71fd38b66feb473446da2a3281e0de7c6daecf7e30
MD5 f3fe0780cec232438ffd6cb8c34e4c57
BLAKE2b-256 41ec1a8366e1a2b32d65563be2b0070afa7bfb221431467401a685de44b5f335

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qqmusic_api_python-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 46.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04b86dd6a0029d15bc6079dab127bf5cc72ed626e0031aaab8caf91e61f63100
MD5 512f0f04e4dac9e1f751eee3667fb18a
BLAKE2b-256 2c4c9065b783fd8c7212815b00284bf7098e9f02b65f53c887f7386883cbecd3

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