Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Wechat miniprogram http api tools

Project description

This package is maintained by Typing

This package is useful for WeChat miniprogram development, especially cloud apis.

API usage

pip install wxcloudsdk

from wxcloudsdk import file_manager

file_manager.upload_file(a, b, c...)

get_md5: (title)

Return a md5 code by passing in a string. Useful for creating file names with strings instead of Chinese names.

upload_file: (token, env_id, cloud_path, cloud_dir, local_path)

Upload a file to the specified path on wx cloud storage.

rebuild: (file_path, env_id, token, collection_name)

Refresh a collection by removing and rebuilding. NOTICE that you must upload the data file to the cloud storage first. The file path must be a cloud file path, not local.

Modify api urls by assignment when WeChat team update them



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wxcloudsdk, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size wxcloudsdk-0.0.8-py3-none-any.whl (6.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wxcloudsdk-0.0.8.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page