0.1.8 • Published 5 years ago

empatica-api v0.1.8

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

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.

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago