0.0
No commit activity in last 3 years
No release in over 3 years
Use HTTP protocol to communicate with wechat API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Wechat::Adapter

Build Status Gem Version Coverage Status

A wrapper for Tencent Wechat JSON API, currently only "menu" operation are tested, others should work also.

Installation

Add this line to your application's Gemfile:

gem 'wechat-adapter'

And then execute:

$ bundle

Or install it yourself as:

$ gem install wechat-adapter

Usage

require 'wechat/adapter'

appid = "wxb3fae34df644fbf7"
appsecret = "d0aae6a89949c8c789068397f9e1c59c"
api = WechatAPI.new(appid, appsecret)

api.get 'menu/get'