Skip to main content

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


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.5.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

pywe_media-1.0.5-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pywe-media-1.0.5.tar.gz.

File metadata

  • Download URL: pywe-media-1.0.5.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pywe-media-1.0.5.tar.gz
Algorithm Hash digest
SHA256 f253662417368da2deda76de431a293e9f5a1b0837bc1c206c192bcdf1cd60b3
MD5 1945502972693184bc274fbc55d5dd98
BLAKE2b-256 9f83d38a8abd60a43d71a845aebeb2fa202f36cd8c0a8a5ca42367f4feaa1138

See more details on using hashes here.

File details

Details for the file pywe_media-1.0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pywe_media-1.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 efd0711691a9a370a5a5a3879990c330678e10868230d34b0e92d81e8c03e4b8
MD5 ab8d9060d52f44a2931cd800cce2dcfa
BLAKE2b-256 c14f8dfca46a53b40becc6af95b8b2a26b5097ac7d34540e2264b3699fdcafec

See more details on using hashes here.

Supported by

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