snipe-it.js
v1.5.1
Published
snipe-it.js
Downloads
5
Maintainers
Readme
snipe-it.js
Typescript/Node.JS API wrapper for Snipe-IT
Installation
yarn install snipe-it.js
Make sure to replace SNIPE_URL
and API_TOKEN
in this example
const { Snipe } = require('snipe-it.js');
const snipe = new Snipe(SNIPE_URL, API_TOKEN);
async function func() {
const data = await snipe.hardware.get({
limit: 50
});
console.log(data);
}
func();
Documentation is located here