ex_wechat v0.1.3 API Reference

Modules

An elixir Wechat api. Functional and clear

Generate api methods base on the api definitions. You also can use it to import all the api methods

Make module can get the config data

praser data from api description file

generate sha1 and verify sha1 of given string

Helper methods for time calucate

Parse wechat message from Plug.Conn && Generate wechat message from Map

Praser message from the body in conn, and then assign the message to conn. Then the developer can get the msg data (elixir map) with

Wechat server signature checker. Makesure the message is come from wechat server. http://mp.weixin.qq.com/wiki/8/f9a0b8382e0b77d87b3bcc1ce6fbc104.html

ExWechat.Responder is to make respond to wechat server. It can be used with server verify and other things. This module will automaticlly generate needed methods for your Phoenix controller

Wechat access_token