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.6.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file pywe-media-1.0.6.tar.gz
.
File metadata
- Download URL: pywe-media-1.0.6.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49c80872217ff9996b967782b7854d59ae0feecee72e8e1be62f4b4222d3e87e |
|
MD5 | c133bbc5ad12e019699200ee26d0ab2a |
|
BLAKE2b-256 | 32a9e4298639d9d54908e6f3c9b8a167867563b3b8a2df5f0f2dc2da6365f413 |
File details
Details for the file pywe_media-1.0.6-py2.py3-none-any.whl
.
File metadata
- Download URL: pywe_media-1.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67a325900028b393578340c08c9d2c093f5c139e04e95bfcba428fd3946750a2 |
|
MD5 | f8a70689513c5c774a11bd18158f132b |
|
BLAKE2b-256 | d33e7fa82595ddf7fe1102c7b25f19d37db34b8725d1e92ef40ba6c84cca70f2 |