ZgRoBot: writing WeChat Offical Account Robots with fun
Project description
ZgRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://zgrobot.readthedocs.io/zh/stable/
安装
推荐使用 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.tar.gz
(61.2 kB
view hashes)
Built Distribution
Close
Hashes for zgrobot-2.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 975038fee1eed39485c2c0d9fda68acb8d4b52da5155c62ae6e4af6694a58123 |
|
MD5 | 9923547c90eb3eed3bc7c863cd472570 |
|
BLAKE2b-256 | 3f09c172d81bdf1fb17e549e091fdb2f5df38bb115bef3ed7792aed5c1b72dc5 |