wms-api

1.0.4 • Public • Published

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 (devhermluna@gmail.com)

/wms-api/

    Package Sidebar

    Install

    npm i wms-api

    Weekly Downloads

    0

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    2.81 kB

    Total Files

    3

    Last publish

    Collaborators

    • devhermluna