2n-helios-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

2n-helios-client

2n-helios-client is a node-style API for interfacing with 2n door access control panels.

To use:

const credentials = {
    ip: '10.1.10.123',                  // your 2n unit's IP address
    user: 'admin',                      // your 2n API username (not necessarily the same as the web interface login)
    pass: 'password'                    // your 2n API password
}

const helios = new Helios(credentials); // create new instance

const res = await helios.status();       // make sure to use await as we're dealing with promises
console.log(res)                        // do something with the response

Readme

Keywords

Package Sidebar

Install

npm i 2n-helios-client

Weekly Downloads

15

Version

1.0.9

License

ISC

Unpacked Size

20.4 kB

Total Files

6

Last publish

Collaborators

  • joshuaburkhalter