wnrstore-api

1.0.3 • Public • Published

WNRStore-API

NPM

Official API Wrapper from WNRStore.com

Installation

> npm install wnrstore-api

Usage

// Import method
const {
  getDataAccount,
  getDataProduct,
  getDataOperator,
  checkNumberStatus,
  createOrder,
  resendOrder
} = require('wnrstore-api')

// Initializing a variable
const api_key = '0x12345-67890-xxx'

// Get account information
getDataAccount(api_key)

// Get list product
getDataProduct(api_key)

// Get list operator
getDataOperator(api_key)

// Get virtual number status
checkNumberStatus(api_key, phone_number)

// Make a virtual number request
createOrder(api_key, id_product, id_operator)

// Resend a virtual number order
resendOrder(api_key, id_order)

Package Sidebar

Install

npm i wnrstore-api

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

5.18 kB

Total Files

4

Last publish

Collaborators

  • cdw1p