0.0.4 • Published 9 years ago

empatica-connect v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

empatica-connect Build Status

A node module for fetching data from Empatica Connect.

Install

$ npm install --save empatica-connect

Usage

The username and password for the account should be set up as environment variables:

$ export EMPATICA_USERNAME={username}
$ export EMPATICA_PASSWORD={password}

direnv is a good tool to do this in development.

var empaticaConnect = require('empatica-connect');

empaticaConnect.getLastSession(deviceId, function (session) {
  // do something with the session data
},
function (error) {
  // something went wrong!
});

API

empaticaConnect.getLastSession(deviceId, success, failure)

deviceId

Required Type: string

Example: "A00182-E4"

License

MIT © Dan Barber

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago