Skip to content

cooperhewitt/node-cooperhewitt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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);  
});

About

a little node module to call into the Cooper-Hewitt API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published