qqmusic-api-python 0.1.10__tar.gz → 0.1.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/PKG-INFO +15 -26
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/README.md +14 -25
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/pyproject.toml +1 -1
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/__init__.py +1 -1
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/utils/network.py +1 -2
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/LICENSE +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/album.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/album.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/login.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/lyric.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/mv.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/search.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/singer.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/song.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/songlist.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/top.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/api/user.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/file_type.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/data/search_type.json +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/exceptions/__init__.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/exceptions/api_exception.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/login.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/login_utils.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/lyric.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/mv.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/search.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/singer.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/song.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/songlist.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/top.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/user.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/utils/__init__.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/utils/credential.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/utils/qimei.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/utils/sync.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/utils/tripledes.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/utils/utils.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/conftest.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_album.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_login.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_lyric.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_mv.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_qimei.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_search.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_singer.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_song.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_songlist.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_top.py +0 -0
- {qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/tests/test_user.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qqmusic-api-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.11
|
|
4
4
|
Summary: QQ音乐API封装库
|
|
5
5
|
Keywords: music,api,qqmusic,tencentmusic
|
|
6
6
|
Author-Email: Luren <68656403+luren-dc@users.noreply.github.com>
|
|
@@ -26,34 +26,29 @@ Requires-Dist: httpx>=0.27.0
|
|
|
26
26
|
Description-Content-Type: text/markdown
|
|
27
27
|
|
|
28
28
|
<div align="center">
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
<a href="https://www.python.org">
|
|
32
|
-
<img src="https://img.shields.io/badge/python-3.9|3.10|3.11|3.12-blue" alt="Python">
|
|
33
|
-
</a>
|
|
34
|
-
<a href="https://github.com/astral-sh/ruff">
|
|
35
|
-
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
29
|
+
<a>
|
|
30
|
+
<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">
|
|
36
31
|
</a>
|
|
37
|
-
<a href="https://
|
|
38
|
-
<img src="https://img.shields.io/
|
|
32
|
+
<a href="https://www.python.org">
|
|
33
|
+
<img src="https://img.shields.io/badge/Python-3.9|3.10|3.11|3.12-blue" alt="Python">
|
|
39
34
|
</a>
|
|
40
35
|
<a href="https://github.com/luren-dc/QQMusicApi?tab=MIT-1-ov-file">
|
|
41
|
-
<img src="https://img.shields.io/github/license/luren-dc/
|
|
36
|
+
<img src="https://img.shields.io/github/license/luren-dc/QQMusicApi" alt="GitHub license">
|
|
42
37
|
</a>
|
|
43
38
|
<a href="https://github.com/luren-dc/QQMusicApi/stargazers">
|
|
44
39
|
<img src="https://img.shields.io/github/stars/luren-dc/QQMusicApi?color=yellow&label=Github%20Stars" alt="STARS">
|
|
45
40
|
</a>
|
|
46
41
|
<a href="https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml">
|
|
47
|
-
<img src="https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml/badge.svg?branch=
|
|
42
|
+
<img src="https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml/badge.svg?branch=main" alt="Testing">
|
|
48
43
|
</a>
|
|
49
44
|
</div>
|
|
50
45
|
|
|
51
46
|
---
|
|
52
47
|
|
|
53
|
-
> [!
|
|
48
|
+
> [!IMPORTANT]
|
|
54
49
|
> 本仓库的所有内容仅供学习和参考之用,禁止用于商业用途
|
|
55
50
|
>
|
|
56
|
-
>
|
|
51
|
+
> **音乐平台不易,请尊重版权,支持正版。**
|
|
57
52
|
|
|
58
53
|
**文档**: <a href="https://luren-dc.github.io/QQMusicApi" target="_blank">https://luren-dc.github.io/QQMusicApi</a>
|
|
59
54
|
|
|
@@ -71,8 +66,6 @@ Description-Content-Type: text/markdown
|
|
|
71
66
|
|
|
72
67
|
## 依赖
|
|
73
68
|
|
|
74
|
-
- ~~[AIOHTTP](https://docs.aiohttp.org/)~~
|
|
75
|
-
- ~~[Requests](https://requests.readthedocs.io/)~~
|
|
76
69
|
- [Cryptography](https://cryptography.io/)
|
|
77
70
|
- [HTTPX](https://github.com/encode/httpx/)
|
|
78
71
|
|
|
@@ -100,18 +93,14 @@ async def main():
|
|
|
100
93
|
asyncio.run(main())
|
|
101
94
|
```
|
|
102
95
|
|
|
103
|
-
##
|
|
96
|
+
## Licence
|
|
104
97
|
|
|
105
|
-
|
|
106
|
-
[](https://github.com/Rain120/qq-music-api)
|
|
107
|
-
[](https://github.com/jsososo/QQMusicApi)
|
|
98
|
+
本项目基于 **[MIT License](https://github.com/luren-dc/QQMusicApi?tab=MIT-1-ov-file)** 许可证发行。
|
|
108
99
|
|
|
109
|
-
|
|
110
|
-
[](https://github.com/chenmozhijin/LDDC)
|
|
100
|
+
## 免责声明
|
|
111
101
|
|
|
112
|
-
|
|
113
|
-
[](https://github.com/Nemo2011/bilibili-api)
|
|
102
|
+
由于使用本项目产生的包括由于本协议或由于使用或无法使用本项目而引起的任何性质的任何直接、间接、特殊、偶然或结果性损害(包括但不限于因商誉损失、停工、计算机故障或故障引起的损害赔偿,或任何及所有其他商业损害或损失)由使用者负责
|
|
114
103
|
|
|
115
|
-
##
|
|
104
|
+
## 贡献者
|
|
116
105
|
|
|
117
|
-
|
|
106
|
+
[](https://github.com/luren-dc/QQMusicApi/graphs/contributors)
|
|
@@ -1,32 +1,27 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
<a href="https://www.python.org">
|
|
5
|
-
<img src="https://img.shields.io/badge/python-3.9|3.10|3.11|3.12-blue" alt="Python">
|
|
6
|
-
</a>
|
|
7
|
-
<a href="https://github.com/astral-sh/ruff">
|
|
8
|
-
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
|
|
2
|
+
<a>
|
|
3
|
+
<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">
|
|
9
4
|
</a>
|
|
10
|
-
<a href="https://
|
|
11
|
-
<img src="https://img.shields.io/
|
|
5
|
+
<a href="https://www.python.org">
|
|
6
|
+
<img src="https://img.shields.io/badge/Python-3.9|3.10|3.11|3.12-blue" alt="Python">
|
|
12
7
|
</a>
|
|
13
8
|
<a href="https://github.com/luren-dc/QQMusicApi?tab=MIT-1-ov-file">
|
|
14
|
-
<img src="https://img.shields.io/github/license/luren-dc/
|
|
9
|
+
<img src="https://img.shields.io/github/license/luren-dc/QQMusicApi" alt="GitHub license">
|
|
15
10
|
</a>
|
|
16
11
|
<a href="https://github.com/luren-dc/QQMusicApi/stargazers">
|
|
17
12
|
<img src="https://img.shields.io/github/stars/luren-dc/QQMusicApi?color=yellow&label=Github%20Stars" alt="STARS">
|
|
18
13
|
</a>
|
|
19
14
|
<a href="https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml">
|
|
20
|
-
<img src="https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml/badge.svg?branch=
|
|
15
|
+
<img src="https://github.com/luren-dc/QQMusicApi/actions/workflows/testing.yml/badge.svg?branch=main" alt="Testing">
|
|
21
16
|
</a>
|
|
22
17
|
</div>
|
|
23
18
|
|
|
24
19
|
---
|
|
25
20
|
|
|
26
|
-
> [!
|
|
21
|
+
> [!IMPORTANT]
|
|
27
22
|
> 本仓库的所有内容仅供学习和参考之用,禁止用于商业用途
|
|
28
23
|
>
|
|
29
|
-
>
|
|
24
|
+
> **音乐平台不易,请尊重版权,支持正版。**
|
|
30
25
|
|
|
31
26
|
**文档**: <a href="https://luren-dc.github.io/QQMusicApi" target="_blank">https://luren-dc.github.io/QQMusicApi</a>
|
|
32
27
|
|
|
@@ -44,8 +39,6 @@
|
|
|
44
39
|
|
|
45
40
|
## 依赖
|
|
46
41
|
|
|
47
|
-
- ~~[AIOHTTP](https://docs.aiohttp.org/)~~
|
|
48
|
-
- ~~[Requests](https://requests.readthedocs.io/)~~
|
|
49
42
|
- [Cryptography](https://cryptography.io/)
|
|
50
43
|
- [HTTPX](https://github.com/encode/httpx/)
|
|
51
44
|
|
|
@@ -73,18 +66,14 @@ async def main():
|
|
|
73
66
|
asyncio.run(main())
|
|
74
67
|
```
|
|
75
68
|
|
|
76
|
-
##
|
|
69
|
+
## Licence
|
|
77
70
|
|
|
78
|
-
|
|
79
|
-
[](https://github.com/Rain120/qq-music-api)
|
|
80
|
-
[](https://github.com/jsososo/QQMusicApi)
|
|
71
|
+
本项目基于 **[MIT License](https://github.com/luren-dc/QQMusicApi?tab=MIT-1-ov-file)** 许可证发行。
|
|
81
72
|
|
|
82
|
-
|
|
83
|
-
[](https://github.com/chenmozhijin/LDDC)
|
|
73
|
+
## 免责声明
|
|
84
74
|
|
|
85
|
-
|
|
86
|
-
[](https://github.com/Nemo2011/bilibili-api)
|
|
75
|
+
由于使用本项目产生的包括由于本协议或由于使用或无法使用本项目而引起的任何性质的任何直接、间接、特殊、偶然或结果性损害(包括但不限于因商誉损失、停工、计算机故障或故障引起的损害赔偿,或任何及所有其他商业损害或损失)由使用者负责
|
|
87
76
|
|
|
88
|
-
##
|
|
77
|
+
## 贡献者
|
|
89
78
|
|
|
90
|
-
|
|
79
|
+
[](https://github.com/luren-dc/QQMusicApi/graphs/contributors)
|
|
@@ -186,7 +186,6 @@ class Api:
|
|
|
186
186
|
},
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
self.method = "POST"
|
|
190
189
|
self.json_body = True
|
|
191
190
|
self.params.clear()
|
|
192
191
|
|
|
@@ -222,7 +221,7 @@ class Api:
|
|
|
222
221
|
|
|
223
222
|
config = {
|
|
224
223
|
"url": self.url,
|
|
225
|
-
"method": self.method,
|
|
224
|
+
"method": self.method if not self.module else "POST",
|
|
226
225
|
"params": self.params,
|
|
227
226
|
"headers": self.headers,
|
|
228
227
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qqmusic_api_python-0.1.10 → qqmusic_api_python-0.1.11}/qqmusic_api/exceptions/api_exception.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|