0.1.2 • Published 8 years ago

node-weixin-poi v0.1.2

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

NPM version Build Status

node-weixin-poi

此模块为微信门店api接口开发,依赖node-weixin项目下的工具子项目

node-form-validator

node-weixin-request

node-weixin-util

##Install

npm install --save node-weixin-poi

##Usage

var settings = require('node-weixin-settings');
var poi = require('node-weixin-poi');

var app = {
    id: process.env.APP_ID,
    secret: process.env.APP_SECRET,
    token: process.env.APP_TOKEN
};

poi.getpoilist(app, 0, 10, function(err, resp){
    //TODO: todo sth
});

poi.getpoi(app, '404516217', function(err, resp){
    //TODO: todo sth
});

poi.addpoi(app, poi_data, function(err, resp){
    //TODO: todo sth
});

poi.delpoi(app, '404516217', function(err, resp){
    //TODO: todo sth
});

License

MIT © lgyhitler