wnrstore-api
v1.0.3
Published
Official API Wrapper from WNRStore.com
Downloads
3
Maintainers
Readme
WNRStore-API
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)