Skip to main content

Wechat Media Module for Python.

Project description

Wechat Media Module for Python.


pip install pywe-media


from pywe_media import Media, media_download, media_upload


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

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)

Uploaded source

Built Distribution

pywe_media-1.0.7-py2.py3-none-any.whl (2.9 kB view hashes)

Uploaded py2 py3

Supported by

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