Currently at version 0.1.0
npm install jidoteki
First, make sure you have your USERID
and APIKEY
for using the jidoteki.com API.
If you don't have one, you can signup for free here: Jidoteki.com
$ node
jidoteki = require('jidoteki')
jidoteki.settings.userid = 'youruserid'
jidoteki.settings.apikey = 'yourapikey'
console.log(jidoteki.settings)
// make a request!
jidoteki.makeRequest('GET', '/os/list', function(data){ console.log(data); });
$ coffee
jidoteki = require 'jidoteki'
jidoteki.settings.userid = 'youruserid'
jidoteki.settings.apikey = 'yourapikey'
console.log jidoteki.settings
# make a request!
jidoteki.makeRequest 'GET', '/os/list', (data) -> console.log data
- Support PUT/POST/DELETE requests with
makeRequest()
- Support query and form data params