A Python SDK for interacting with Cloud189
Project description
Cloud189
A Python package for interacting with Cloud189 (天翼云盘).
Installation
pip install cloud189
Usage
from cloud189 import Cloud189
# Init & Login the client
client189 = Cloud189Client({
'username': 'your_username',
'password': 'your_password'
})
# List files
client189.get_all_files(folder_id)
# Upload file
client189.upload(file_path, folder_id, rename)
# Delete file
client189.delete(file_id, file_name, is_folder=False)
# Get media play url
client189.get_play_url(file_id)
# Get cloud disk space info
client189.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.0.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.0.tar.gz.
File metadata
- Download URL: cloud189-0.1.0.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 |
04bfba4ba843a2ec586551cd3a082ae232cc15b0b7bddab20a0dee46c1d595d6
|
|
| MD5 |
9c5731a6b32a66def51bfa3edb74681b
|
|
| BLAKE2b-256 |
1ea13ae8ff9a3e6b04f29d026b94cddac4e64ccbbff6f58d137683dbd8bf0268
|
File details
Details for the file cloud189-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cloud189-0.1.0-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 |
b68ef6505c112b68f2de899f6921ae16e0b04012078f49ce64bca36773d076a5
|
|
| MD5 |
82e523e6a5270df4ed17d303d87d56c4
|
|
| BLAKE2b-256 |
dce111c819af7e1787f9efcc61215d81dd07ab93227a1409aa0b0950d02401a5
|