A simple WeChat development framework written by python and django.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
mysite
wechat
.gitignore
LICENSE
README.md
config.yaml
index.wsgi
manage.py
requirements.txt

README.md

###WeiPython python2.7+django1.4。 封装了微信开发需要的一些类和函数,包括三种消息类,xml文件的解析和生成, json解析等。 你可以在此基础上开发练手。你只需要克隆代码,然后实现wechatService.py里的processRequest方法就可以根据不同消息类型回复。目前实现的是调用图灵机器人自动回复,可以实现翻译,查询天气,简单聊天等功能。(初学python时练手的,代码非常不pythonic,慎用代码)

###Step

  • Clone this reposity: git clone https://github.com/PegasusWang/WeiPython.git
  • Write your own processRequest in wechatService.py
  • upload your code to sae or bae server.

###Tutorial