Skip to content

patrixl/jidoteki-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Official Node.JS API client and helper library

http://docs.jidoteki.com

Version

Currently at version 0.1.0

Installation

npm install jidoteki

Usage

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.JS

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

CoffeeScript

$ 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

Todo

  • Support PUT/POST/DELETE requests with makeRequest()
  • Support query and form data params

About

Official Jidoteki Node.JS API client and helper library

Resources

License

Stars

Watchers

Forks

Packages

No packages published