Wechat Media Module for Python.
Project description
Wechat Media Module for Python.
Sandbox
Installation
pip install pywe-media
Usage
from pywe_media import Media, media_download, media_upload
Method
class Media(BaseToken): def __init__(self, appid=None, secret=None, token=None, storage=None): super(Media, self).__init__(appid=appid, secret=secret, token=token, storage=storage) def upload(self, media_type='image', media_file=None, appid=None, secret=None, token=None, storage=None): def download(self, media_id, hd=False, appid=None, secret=None, token=None, storage=None):
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywe-media-1.0.7.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for pywe_media-1.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b61cbdfec231f4939aa39bc8e3782db4cdc76f728c575581a9050c4494e23486 |
|
MD5 | 853b378206a33093ae6ce2e4be41c313 |
|
BLAKE2b-256 | dcad8e3f1db6ecf1769f0745d1d396159bd5fbbb4a8432b3b4656e36952b9a4a |