package
Voxel (Internap) Hosting API (hAPI) client
npm install nhapiGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
node.js Voxel.net Hosting API Client
###Usage
var nhapi = require('nhapi')
var client = nhapi.create({
key: 'user key'
, secret: 'user secret'
, url: 'https://api.voxel.net'
});client.call({method: 'voxel.devices.metrics.read', device_id: 1324, metric: 'bandwidth', start_time: 1341100800, interface: 'eth0', format: 'json_v2'}, function (err, res) {
if (err) return console.log(err)
console.log(res)
})Estimated unpacked size across 35 packages.
6.1 MB
Includes dependencies.