node-weixin-poi

0.1.2 • Public • Published

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]

Readme

Keywords

none

Package Sidebar

Install

npm i node-weixin-poi

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • lgyt34