0.0.5 • Published 4 years ago

kas-lock v0.0.5

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

Status

~WIP

This package is a wrapper around KAS Console V1.0 API. It can be used to help with building your own integrations.

Package is not generally available yet.

If you would like to see it come alive, contact the repo author with a 'YES'!

Example Usage

const { KASApi } = require('kas-lock');

const kas = new KASApi({
  email: process.env.EMAIL,
  password: process.env.PASSWORD,
});

const run = async () => {
  await kas.remoteUnlock('SS00001');
  await kas.setClock('SS00001');
  await kas.addPassword('SS00001', '123456', { startDate: new Date(), endDate: new Date() });
};

run();

Setup