Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloud189-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

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

Hashes for cloud189-0.1.0.tar.gz
Algorithm Hash digest
SHA256 04bfba4ba843a2ec586551cd3a082ae232cc15b0b7bddab20a0dee46c1d595d6
MD5 9c5731a6b32a66def51bfa3edb74681b
BLAKE2b-256 1ea13ae8ff9a3e6b04f29d026b94cddac4e64ccbbff6f58d137683dbd8bf0268

See more details on using hashes here.

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

Hashes for cloud189-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b68ef6505c112b68f2de899f6921ae16e0b04012078f49ce64bca36773d076a5
MD5 82e523e6a5270df4ed17d303d87d56c4
BLAKE2b-256 dce111c819af7e1787f9efcc61215d81dd07ab93227a1409aa0b0950d02401a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page