ubiquiti-unifi
Library for accessing the unifi network equipment
Install
Currently, the module is written on Node 6, without any transpilers, using the ES2015+ features.
npm install --save ubiquiti-unifi
Usage
const ubiquitiUnifi =const options =username: ''password: ''port: 8443url: 'https://127.0.0.1'site: 'default'ignoreSsl: false
API
ubiquitiUnifi(options)
Returns a Promise
with the Router API
options
username
Type: string
Username for the Router API
password
Type: string
Password for the Router API
8443
)
port (default:Type: number
Port for the Router API
https://127.0.0.1
)
url (default:Type: string
URL for the Router API
default
)
site (default:Type: string
The site setting for the Router API
false
)
ignoreSsl (default:Type: boolean
Ignore SSL warnings, for instance when accessing router API that uses a self signed certificate.
License
MIT © Daniel H Moran