Skip to content

nazt/node-xively

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xively API wrapper for nodejs

Getting Started

Install the module with: npm install xively

var node_xively = require('node-xively');

Documentation

(Coming soon)

Examples

var XivelyClient = require('xively');
var x = new XivelyClient();
x.setKey('blahblah');
var dp = {
      "version":"1.0.0",
       "datastreams" : [
	  {
	      "id" : "temperature",
	      "current_value" : 30
	  }
	]
}
x.feed.new('522171645', {
      data_point: dp,
      callback: function(e) { console.log(e); }
}); 

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

License

Copyright (c) 2014 Nat
Licensed under the MIT license.

About

Xively API Wrapper for nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published