Skip to content

lgyHector/node-weixin-poi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

node weixin api component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published