EpsumThings JavaScript SDK for developers and hobbyists alike for using EpsumThings IoT platform.
npm install epsumthings
'use strict';
var Accounts = require("epsumthings/accounts");
var Epsumthings=require("epsumthings/things");
var user= new Accounts();
//get username,secretkey,appid from http://things.epsumlabs.com
user.appid="app_id";
user.username="username";
user.secretkey="secretkey";
var access = user.login();
console.log(access);
access.then(value=>{
let things=new Epsumthings();
let mydata=things.user_profile(user);
mydata.then(d=>{
console.log(d);
})
})
EpsumThings (Beta) is an IoT platform developed at Epsum Labs Private Limited for people like you to taste the sweetness of IoT with minimal effort.
Get registered at EpsumThings to explore the IoT platform.