Nuptial Predicament Mediation
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    jidotekipublic

    Official Node.JS API client and helper library

    Downloads Build Status

    http://docs.jidoteki.com

    Version

    Currently at version 0.2.4

    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(1, 'GET', '/os/list', function(err, 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 1, 'GET', '/os/list', (err, data) -> console.log data
    

    Todo

    • Support PUT/DELETE requests with makeRequest()

    install

    npm i jidoteki

    Downloadsweekly downloads

    73

    version

    0.2.4

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar