Socket
Book a DemoInstallSign in
Socket

foobot-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foobot-api

A node.js module to hook into the foobot api.

latest
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

Foobot

A node.js module to interface with the foobot api API.

Getting Starting

  • Make sure you have a foobot account.
  • Make sure you have an api key.

Install

npm install foobot-api

Example

var foobot = require('./foobot');

var auth = {
    "api_key": "",
    "username": "",
    "password": ""
}

var api = new foobot(auth);

// Login In

api.login(auth , function(err , response){

    console.log(response);
});

// Identity Api
api.identity(function(err , response){

    console.log(response);
});

// Data Points
var args = {
    uuid : "",
    period : "",
    sampling : ""
}
api.datapoints(args , function(err , response){

    console.log(response);
});

Keywords

foobot

FAQs

Package last updated on 02 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts