Skip to content

cdw1p/WNRStore-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Releases

No releases published

Packages

No packages published