Skip to content

EpsumThings JavaScript SDK for developers and hobbyists alike for using EpsumThings IoT platform.

License

Notifications You must be signed in to change notification settings

Epsumlabs/epsumthings-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EpsumThings Javascript SDK

EpsumThings JavaScript SDK for developers and hobbyists alike for using EpsumThings IoT platform.

Installation

npm install epsumthings

Example Code

'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);
  })
})

About

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.

About

EpsumThings JavaScript SDK for developers and hobbyists alike for using EpsumThings IoT platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published