node-cooperhewitt

0.0.2 • Public • Published

node-cooperhewitt

A little node module to call into the cooperhewitt api

You can get a API TOKEN pretty easily right here.

To install it, just do this:

$ npm install node-cooperhewitt

And then in your project somewhere, do something like this:

var cooperhewitt = require('node-cooperhewitt')

var api_token = '<YOUR API TOKEN>';

var method = 'cooperhewitt.objects.getRandom';
var args = {'access_token': api_token};
      
cooperhewitt.call(method, args, function(rsp){   
    console.log(rsp);  
});

Readme

Keywords

none

Package Sidebar

Install

npm i node-cooperhewitt

Weekly Downloads

0

Version

0.0.2

License

BSD-2-Clause

Last publish

Collaborators

  • micahwalter