0.1.0 • Published 6 years ago
@dwebhost/nodebill v0.1.0
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)
});
0.1.0
6 years ago