No commit activity in last 3 years
No release in over 3 years
weixin api authorize access_token
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0.10.0
>= 3.7.0
>= 3.1.0
>= 1.6.7
>= 1.2.0
 Project Readme

WeixinAuthorize

Gem Version Build Status Code Climate Coverage Status

Support using Redis to store access_token

Wiki

Getting-Started

JS SDK

支持自助实现API

详情见:https://github.com/lanrion/weixin_authorize/wiki/diy-your-api

已经完成API

  • 客服消息
  • 模板消息
  • 用户分组管理
  • 用户信息管理
  • Oauth 2授权
  • 二维码生成
  • 自定义菜单
  • 群发消息
  • 多媒体管理
  • JS SDK(ticket支持缓存)
  • 更多请查看测试例子

V2.0开发中:

https://github.com/lanrion/weixin_authorize/milestones/v2.0-dev

  1. 重构API实现,调用方式
  2. 对token,ticket的管理,提供第三方开发灵活者自助化
  3. 尝试RestClient的弃用,选择更高效的HTTP client包
  4. 支持更多的异常处理机制

注意:查看Wiki或者源代码时,请切换对应的版本来查看。Master处于不断更新完善分支。

How to test

Go to #2, apply a weixin sandbox test account and follow this account

https://github.com/lanrion/weixin_authorize/blob/master/spec/spec_helper.rb

change your infos:

ENV["APPID"]="wxe371e0960de5426a"
ENV["APPSECRET"]="572b93d3d20aea242692a804243a141b"
ENV["OPENID"]="oEEoyuEasxionjR5HygmEOQGwRcw"

then run rspec .

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

捐赠支持

如果你觉得我的gem对你有帮助,欢迎打赏支持,:smile: