GitHub - offu/WeRoBot: WeRoBot 是一个微信公众号开发框架
source link: https://github.com/offu/WeRoBot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.rst
WeRoBot
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里: https://werobot.readthedocs.org/zh_CN/latest/
安装
推荐使用 pip 进行安装
pip install werobot
Hello World
一个非常简单的 Hello World 微信公众号,会对收到的所有文本消息回复 Hello World
import werobot robot = werobot.WeRoBot(token='tokenhere') @robot.text def hello_world(): return 'Hello World!' robot.run()
Credits
Contributors
Thank you to all the people who have already contributed.
Backers
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. become_sponsor
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK