ex_wechat v0.1.8 API Reference

Modules

An elixir Wechat api. Functional and clear

Use to encode and decode for wechat message

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 hash and verify sha1 with given string

Generate AST method data base on api definition data

Try to generate params keyword list base on params string

Helper methods for time calucate

Parse xml string to elixir map

Render elixir data to xml

Http request module

return Jsapi config params

Wechat Message

Module to deal with json message

Module to deal with xml message

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

Plug use for wechat site. A lot helper method

Wechat.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

A module to make test with Wechat.Http easy

Wechat Token(access_token, jsapi_ticket, wxcard_ticket) fetcher

Module to operate with user