Skip to content

tellnes/withings-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

withings-stream Version Badge

Dependency Status devDependency Status Bitdeli Badge

NPM

Streams Withings Measures. (measure / getmeas)

Getting the token and token secret is outside the scope of this lib. You can use passport-withings to do that.

Usage

var options =
  { consumerKey: '...'
  , consumerSecret: '...'
  , token: '...'
  , tokenSecret: '...'
  , userid: '...'
  , startdate: 1222819200
  , enddate: 1223190167
  }
var WithingStream = require('withings-stream')

var stream = WithingsStream(options)

stream.on('data', function (measuregrp) {
  // Do something with measuregrp
})

Install

$ npm install withings-stream

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published