ex_wechat v0.1.8 Wechat.Api

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

  use Wechat.Api

  # just import the method in `access_token` definition
  @api [:access_token]

  # import all the method
  @api :all

If you didn’t add the @api attribute, it will import all the api methods.