p115client 0.0.5.6.1__tar.gz → 0.0.5.6.2__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.
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/PKG-INFO +8 -1
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/client.py +9551 -9493
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/fs_files.py +6 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/pyproject.toml +1 -1
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/readme.md +7 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/LICENSE +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/__init__.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/_upload.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/const.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/exception.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/py.typed +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/__init__.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/download.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/edit.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/export_dir.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/iterdir.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/life.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/pool.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/request.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/upload.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/tool/xys.py +0 -0
- {p115client-0.0.5.6.1 → p115client-0.0.5.6.2}/p115client/type.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: p115client
|
3
|
-
Version: 0.0.5.6.
|
3
|
+
Version: 0.0.5.6.2
|
4
4
|
Summary: Python 115 webdisk client.
|
5
5
|
Home-page: https://github.com/ChenyangGao/p115client
|
6
6
|
License: MIT
|
@@ -115,6 +115,13 @@ app_id = <开放接口应用的 AppID>
|
|
115
115
|
client_open = client.login_another_open(app_id)
|
116
116
|
```
|
117
117
|
|
118
|
+
你也可以直接在 `P115Client` 实例上使用开放接口,此时会使用 `P115OpenClient` 的对应方法,但名字多一个 "_open" 后缀
|
119
|
+
|
120
|
+
```python
|
121
|
+
# 此时 client.fs_files_open 相当于 client_open.fs_files
|
122
|
+
client.login_another_open(app_id, replace=True)
|
123
|
+
```
|
124
|
+
|
118
125
|
也可以用一个已经授权得到的 `refresh_token` (一次性使用)
|
119
126
|
|
120
127
|
```python
|