A Python SDK for interacting with Cloud189
Project description
Cloud189
A Python SDK for interacting with Cloud189 (天翼云盘).
Installation
pip install cloud189
Usage
from cloud189 import Cloud189
# Init & Login the client
client = Cloud189({
'username': 'your_username',
'password': 'your_password'
})
# List files
client.get_all_files(folder_id)
# Upload file
client.upload(file_path, folder_id, rename)
# Delete file
client.delete(file_id, file_name, is_folder=False)
# Get media play url
client.get_play_url(file_id)
# Get cloud disk space info
client.get_user_size_info()
Features
- Login to Cloud189
- List files and folders
- Upload files
- Delete files/folders
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
cloud189-0.1.1.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloud189-0.1.1.tar.gz.
File metadata
- Download URL: cloud189-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0a7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89b0af6a030535ee69bb6bf144ef9c14e759809f2fe49cd9236b7aebaef84843
|
|
| MD5 |
f46cdced04ae54a3cd8f02974c2e853c
|
|
| BLAKE2b-256 |
83f0130d1cba419b73c8b58058c4d72a1f8af0a2974a428ae47516024bd0dd29
|
File details
Details for the file cloud189-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cloud189-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.0a7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3d21dfb0d4ab797e9674dce84462eb84d6f647c7e4625a996b9d3afefba6378
|
|
| MD5 |
2dab82acf0e5f9f9ddecbe7ace3ce962
|
|
| BLAKE2b-256 |
ecdafc47d5a001fcd7de1ec0648aab40bdf776510a591ce9abe3b45da17f1c66
|