ZgRoBot: writing WeChat Offical Account Robots with fun
Project description
ZgRoBot
ZgRoBot
是一个基于 WeRoBot
开发的微信公众号后台开发框架,采用MIT协议发布。
我是来看【 使用文档 】的!
安装
推荐安装
推荐使用 pip
进行安装:
pip install zgrobot
其他安装方法
pip install zgrobot-XXX.tar.gz
更新
pip install --upgrade zgrobot
使用
Hello World
一个非常简单的 Hello World
微信公众号,会对收到的所有文本消息回复 Hello World
import zgrobot
robot = zgrobot.ZgRoBot(token='tokenhere')
@robot.text
def hello_world():
return 'Hello World!'
robot.run()
高级使用
请参阅【 使用文档 】
Status
Star History
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.5.tar.gz
(2.7 MB
view hashes)
Built Distribution
Close
Hashes for zgrobot-2.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10764d537819be17a3e0bbe3995b4b2ad6d96e4c0a9a977addb11d4061e9d04e |
|
MD5 | 3b7cdbd6df2e9ed673e7d2e116bc483a |
|
BLAKE2b-256 | 7f074f6ec9ea4a019a5f81bafd93a9de8f06c8f83c91078060ffa4c9d3d4e38f |