wms-api
v1.0.4
Published
WMS API Helper
Downloads
3
Maintainers
Readme
Wemade Solutions Integration API
API helper for wemade-solutions integrations
Dependency
Installation
$ npm install wms-api
How to use
Declare variable in global scope
example:
var pinCode = 'abcdefghijkl';
var secretKey = 'secret-key';
var secretCode = 'secret-code';
Import methods on module
Available methods
- get
- post
- put
import {
get,
post,
put
} from 'wms-api';
// or
var get = require('wms.api').get;
Using method
get('contacts/get-contact-by-number', `mobile_number=${form.mobile}`, response => {
/**
handling of response
**/
})
Contact
Author: Herman Niño M. Luna IV ([email protected])