0.1.1 • Published 11 years ago

wechatapi v0.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
11 years ago

WechatAPI

store the access_token of wechat API,node-webot/wechat

NPM

Installl

  npm install wechat --save
Then
  npm install wechatapi --save

Required

https://github.com/node-webot/wechat

How to use

Express:

router.get('/test',function(req,res){
	var sapi = require('wechatapi');
	var api = new sapi('appid', 'appsecrite');
	api.getAccessToken(function(err,data) {
		res.send(data);
	});	
});