@dwebhost/nodebill
v0.1.0
Published
An unofficial package for use HostBill API in a NodeJS package
Downloads
3
Readme
NodeBill
An unofficial package for use HostBill API in a NodeJS package.
Install
npm install @dwebhost/nodebill
Examples
const NodeBill = require('nodebill');
const hostbill = new NodeBill(
YOUR_ADMIN_HOSTBILL_URL,
YOUR_API_KEY,
YOUR_API_ID
);
hostbill.call('getClientDetails', { id: 1 })
.then(data => {
console.log(data);
})
.catch(error => {
console.error(error)
});