Skip to main content

微信开放接口封装库

Project description

weixin-open-api

PyPI PyPI - Downloads PyPI - Python Version PyPI - License

微信开放部分接口Python封装

Github: https://github.com/mouday/weixin-open-api

已实现:

  1. 微信分享必要参数

install

pip install weixin-open-api

access_token 默认使用了 mo-cache 的FileCache文件缓存

demo

from weixin_open_api import WeixinOpenClient


class CustomWeixinOpenClient(WeixinOpenClient):
    appid = ''

    secret = ''

if __name__ == '__main__':
    client = CustomWeixinOpenClient()
    data = client.get_share_params(url='https://www.baidu.cn/app')
    print(data)

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

weixin-open-api-0.0.5.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distributions

weixin_open_api-0.0.5-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

weixin_open_api-0.0.5-py2-none-any.whl (6.2 kB view hashes)

Uploaded Python 2

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