ZgRoBot: writing WeChat Offical Account Robots with fun
Project description
ZgRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://zgrobot.readthedocs.org/zh_CN/v2.0.0.dev3/
安装
推荐使用 pip 进行安装
pip install zgrobot
Hello World
一个非常简单的 Hello World 微信公众号,会对收到的所有文本消息回复 Hello World
import zgrobot robot = zgrobot.ZgRoBot(token='tokenhere') @robot.text def hello_world(): return 'Hello World!' robot.run()
Credits
Contributors
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
zgrobot-2.0.0.dev3.tar.gz
(60.7 kB
view hashes)
Built Distribution
Close
Hashes for zgrobot-2.0.0.dev3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b703a0ab748c4b56c74fec59d005803bf99b454f0c6809994b4f4c471da915d2 |
|
MD5 | 0c68adc39144d08c6d6ff0a1e8d4be21 |
|
BLAKE2b-256 | 2cdcb16a24f638f107be0ecf566be805f9ebb456672de631b7632b6eb94dbdf2 |