0.0.7 • Published 6 years ago

netboxjs v0.0.7

Weekly downloads
9
License
GNU
Repository
github
Last release
6 years ago

Netboxjs

Maintainability

Development

This repo is currently under heavy development with an aim to provide a complete API wrapper for Netbox

Installation

npm install netboxjs

Example

let netboxjs = require('netboxjs');

let netboxClient = new netboxjs({
  host: String,
  token: String,
  defaultLimit: Int,
  defaultOffset: Int
});

netboxClient.getVirtualMachines({
  limit: 1
    })
    .then(response => {
        response.data.results.forEach(vm => {
            console.log(vm)
        });
    })
    .catch(error => {
        console.error(error.response.statusText);
    });
0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago