Skip to content

Unofficial empatica node.js module to access web data

License

Notifications You must be signed in to change notification settings

mrzmyr/empatica-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

empatica-api

Unofficial empatica node.js module to access web data

Warning: This module is under development, breaking changes should be expected

Install

Install with npm

$ npm i empatica-api --save

Usage

const EmpaticaApi = require('empatica-api');
const empticaApi = new EmpticaApi({
  username: 'your_empatica_email@example.com'
  password: 'your_empatica_password'
})

const { userId } = await empticaApi.authenticate()
const sessions = await empticaApi.getSessions(userId)
console.log(sessions[0]);
// { id: '578634', start_time: '1541950248', duration: '70847', device_id: 'c004bc', label: '2588', device: 'E4 2.2', status: '0', exit_code: '0' }

Check the examples directory for more useful basics or use the full documentation here.

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

License

Licensed under the MIT license.

About

Unofficial empatica node.js module to access web data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published