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