ZgRoBot: writing WeChat Offical Account Robots with fun
Project description
ZgRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://zgrobot.readthedocs.org/zh_CN/v2.0.0.dev2/
安装
推荐使用 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.dev2.tar.gz
(58.8 kB
view hashes)
Built Distribution
Close
Hashes for zgrobot-2.0.0.dev2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea6a0cb83176870f84ffc7a8c69ae21abb93b7a413a1b2eca58262c89079f89 |
|
MD5 | 4ba07274a512c5fd7e7690b107e26fcf |
|
BLAKE2b-256 | 7c329d61c5ece0211f82d0f02db0ad51323c577fbb80d20b6c55c69f6f23ca4c |