qqmusic-api-python


Nameqqmusic-api-python JSON
Version 0.2.2 PyPI version JSON
download
home_pageNone
SummaryQQ音乐API封装库
upload_time2025-01-25 04:37:34
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT
keywords api music qqmusic tencentmusic
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
    <a>
        <img src="https://socialify.git.ci/luren-dc/QQMusicApi/image?description=1&font=Source%20Code%20Pro&language=1&logo=https%3A%2F%2Fy.qq.com%2Fmediastyle%2Fmod%2Fmobile%2Fimg%2Flogo.svg&name=1&pattern=Overlapping%20Hexagons&theme=Auto">
    </a>
    <a href="https://www.python.org">
        <img src="https://img.shields.io/badge/Python-3.10|3.11|3.12-blue" alt="Python">
    </a>
    <a href="https://github.com/luren-dc/QQMusicApi?tab=MIT-1-ov-file">
        <img src="https://img.shields.io/github/license/luren-dc/QQMusicApi" alt="GitHub license">
    </a>
    <a href="https://github.com/luren-dc/QQMusicApi/stargazers">
        <img src="https://img.shields.io/github/stars/luren-dc/QQMusicApi?color=yellow&label=Github%20Stars" alt="STARS">
    </a>
    <a href="https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml">
        <img src="https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml/badge.svg?branch=main" alt="Testing">
    </a>
</div>

---

> [!IMPORTANT]
> 本仓库的所有内容仅供学习和参考之用,禁止用于商业用途
>
> **音乐平台不易,请尊重版权,支持正版。**

**文档**: <a href="https://luren-dc.github.io/QQMusicApi" target="_blank">https://luren-dc.github.io/QQMusicApi</a>

**源代码**: <a href="https://github.com/luren-dc/QQMusicApi" target="_blank">https://github.com/luren-dc/QQMusicApi</a>

## 介绍

使用 Python 编写的用于调用 [QQ音乐](https://y.qq.com/) 各种 API 的库.

## 特色

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

## 依赖

- [Cryptography](https://cryptography.io/)
- [HTTPX](https://github.com/encode/httpx/)

## 快速上手

### 安装

```bash
pip install qqmusic-api-python
```

### 使用

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

## Licence

本项目基于 **[MIT License](https://github.com/luren-dc/QQMusicApi?tab=MIT-1-ov-file)** 许可证发行。

## 免责声明

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

## 贡献者

[![Contributor](https://contrib.rocks/image?repo=luren-dc/QQMusicApi)](https://github.com/luren-dc/QQMusicApi/graphs/contributors)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "qqmusic-api-python",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Luren <68656403+luren-dc@users.noreply.github.com>",
    "keywords": "api, music, qqmusic, tencentmusic",
    "author": null,
    "author_email": "Luren <68656403+luren-dc@users.noreply.github.com>",
    "download_url": "https://files.pythonhosted.org/packages/53/b5/d66b69353b9e56c9c6f8ac3190b2176527b59ed623e1270d4d43078f2831/qqmusic_api_python-0.2.2.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n    <a>\n        <img src=\"https://socialify.git.ci/luren-dc/QQMusicApi/image?description=1&font=Source%20Code%20Pro&language=1&logo=https%3A%2F%2Fy.qq.com%2Fmediastyle%2Fmod%2Fmobile%2Fimg%2Flogo.svg&name=1&pattern=Overlapping%20Hexagons&theme=Auto\">\n    </a>\n    <a href=\"https://www.python.org\">\n        <img src=\"https://img.shields.io/badge/Python-3.10|3.11|3.12-blue\" alt=\"Python\">\n    </a>\n    <a href=\"https://github.com/luren-dc/QQMusicApi?tab=MIT-1-ov-file\">\n        <img src=\"https://img.shields.io/github/license/luren-dc/QQMusicApi\" alt=\"GitHub license\">\n    </a>\n    <a href=\"https://github.com/luren-dc/QQMusicApi/stargazers\">\n        <img src=\"https://img.shields.io/github/stars/luren-dc/QQMusicApi?color=yellow&label=Github%20Stars\" alt=\"STARS\">\n    </a>\n    <a href=\"https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml\">\n        <img src=\"https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml/badge.svg?branch=main\" alt=\"Testing\">\n    </a>\n</div>\n\n---\n\n> [!IMPORTANT]\n> \u672c\u4ed3\u5e93\u7684\u6240\u6709\u5185\u5bb9\u4ec5\u4f9b\u5b66\u4e60\u548c\u53c2\u8003\u4e4b\u7528\uff0c\u7981\u6b62\u7528\u4e8e\u5546\u4e1a\u7528\u9014\n>\n> **\u97f3\u4e50\u5e73\u53f0\u4e0d\u6613\uff0c\u8bf7\u5c0a\u91cd\u7248\u6743\uff0c\u652f\u6301\u6b63\u7248\u3002**\n\n**\u6587\u6863**: <a href=\"https://luren-dc.github.io/QQMusicApi\" target=\"_blank\">https://luren-dc.github.io/QQMusicApi</a>\n\n**\u6e90\u4ee3\u7801**: <a href=\"https://github.com/luren-dc/QQMusicApi\" target=\"_blank\">https://github.com/luren-dc/QQMusicApi</a>\n\n## \u4ecb\u7ecd\n\n\u4f7f\u7528 Python \u7f16\u5199\u7684\u7528\u4e8e\u8c03\u7528 [QQ\u97f3\u4e50](https://y.qq.com/) \u5404\u79cd API \u7684\u5e93.\n\n## \u7279\u8272\n\n- \u6db5\u76d6\u5e38\u89c1 API\n- \u8c03\u7528\u7b80\u4fbf\uff0c\u51fd\u6570\u547d\u540d\u6613\u61c2\uff0c\u4ee3\u7801\u6ce8\u91ca\u8be6\u7ec6\n- \u5b8c\u5168\u5f02\u6b65\u64cd\u4f5c\n\n## \u4f9d\u8d56\n\n- [Cryptography](https://cryptography.io/)\n- [HTTPX](https://github.com/encode/httpx/)\n\n## \u5feb\u901f\u4e0a\u624b\n\n### \u5b89\u88c5\n\n```bash\npip install qqmusic-api-python\n```\n\n### \u4f7f\u7528\n\n```python\nimport asyncio\n\nfrom qqmusic_api import search\n\nasync def main():\n    # \u641c\u7d22\u6b4c\u66f2\n    result = await search.search_by_type(keyword=\"\u5468\u6770\u4f26\", num=20)\n    # \u6253\u5370\u7ed3\u679c\n    print(result)\n\nasyncio.run(main())\n```\n\n## Licence\n\n\u672c\u9879\u76ee\u57fa\u4e8e **[MIT License](https://github.com/luren-dc/QQMusicApi?tab=MIT-1-ov-file)** \u8bb8\u53ef\u8bc1\u53d1\u884c\u3002\n\n## \u514d\u8d23\u58f0\u660e\n\n\u7531\u4e8e\u4f7f\u7528\u672c\u9879\u76ee\u4ea7\u751f\u7684\u5305\u62ec\u7531\u4e8e\u672c\u534f\u8bae\u6216\u7531\u4e8e\u4f7f\u7528\u6216\u65e0\u6cd5\u4f7f\u7528\u672c\u9879\u76ee\u800c\u5f15\u8d77\u7684\u4efb\u4f55\u6027\u8d28\u7684\u4efb\u4f55\u76f4\u63a5\u3001\u95f4\u63a5\u3001\u7279\u6b8a\u3001\u5076\u7136\u6216\u7ed3\u679c\u6027\u635f\u5bb3\uff08\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u56e0\u5546\u8a89\u635f\u5931\u3001\u505c\u5de5\u3001\u8ba1\u7b97\u673a\u6545\u969c\u6216\u6545\u969c\u5f15\u8d77\u7684\u635f\u5bb3\u8d54\u507f\uff0c\u6216\u4efb\u4f55\u53ca\u6240\u6709\u5176\u4ed6\u5546\u4e1a\u635f\u5bb3\u6216\u635f\u5931\uff09\u7531\u4f7f\u7528\u8005\u8d1f\u8d23\n\n## \u8d21\u732e\u8005\n\n[![Contributor](https://contrib.rocks/image?repo=luren-dc/QQMusicApi)](https://github.com/luren-dc/QQMusicApi/graphs/contributors)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "QQ\u97f3\u4e50API\u5c01\u88c5\u5e93",
    "version": "0.2.2",
    "project_urls": {
        "documentation": "https://luren-dc.github.io/QQMusicApi/",
        "homepage": "https://luren-dc.github.io/QQMusicApi/",
        "repository": "https://github.com/luren-dc/QQMusicApi"
    },
    "split_keywords": [
        "api",
        " music",
        " qqmusic",
        " tencentmusic"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "68789fce73c81e560b6e10c237110d5df30eee1e36bc1a096c2325c7b898f7a4",
                "md5": "1a1fe570d73271ecf6d3efc4f0aac25b",
                "sha256": "3cb840d1cb60c8f39831aec4f5f1a8a1d8ef8f97249e146804bd695b0246aaed"
            },
            "downloads": -1,
            "filename": "qqmusic_api_python-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1a1fe570d73271ecf6d3efc4f0aac25b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 46556,
            "upload_time": "2025-01-25T04:37:32",
            "upload_time_iso_8601": "2025-01-25T04:37:32.936414Z",
            "url": "https://files.pythonhosted.org/packages/68/78/9fce73c81e560b6e10c237110d5df30eee1e36bc1a096c2325c7b898f7a4/qqmusic_api_python-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "53b5d66b69353b9e56c9c6f8ac3190b2176527b59ed623e1270d4d43078f2831",
                "md5": "896eaa4d5ab78daa5ef69802a4d4e7cb",
                "sha256": "834623e1f7b0b1d159e62983d6bcb78973ba4ba82e6ceee62ab39cd13efef6bf"
            },
            "downloads": -1,
            "filename": "qqmusic_api_python-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "896eaa4d5ab78daa5ef69802a4d4e7cb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 37556,
            "upload_time": "2025-01-25T04:37:34",
            "upload_time_iso_8601": "2025-01-25T04:37:34.507156Z",
            "url": "https://files.pythonhosted.org/packages/53/b5/d66b69353b9e56c9c6f8ac3190b2176527b59ed623e1270d4d43078f2831/qqmusic_api_python-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-25 04:37:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "luren-dc",
    "github_project": "QQMusicApi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "qqmusic-api-python"
}
        
Elapsed time: 0.44937s