boodskap-commons
v1.0.3
Published
Boodskap IoT Platform API
Downloads
3
Readme
Getting Started
This plugin requires node >= 6.0.0
and npm >= 1.4.15
(latest stable is recommended).
NPM Module Installation
> npm install boodskap-commons --save
How it works?
var Boodskap = require('boodskap-commons');
var config = {
"apiUrl": "",
"mqtt": {
"hostName": '',
"portNo": 443,
"ssl": true
}
}
# new Boodskap(config, authResponse);
# if you have already logged in pass the response json to the boodskap module