ivivacloud-node

0.0.6 • Public • Published

ivivacloud-node

A node.js helper library for accessing iVivaCloud

Getting Started

You need to have access to an iVivaCloud installation and have a valid api key.

Installation

npm install ivivacloud-node

Usage

var iviva = require('ivivacloud-node');
var account = new iviva.Account('http://ivivacloud-url','apikey');

/* A sample service to execute */
account.executeService('System.AvailableDateFormats',{},function(err,data){
    if (err != null) {
        console.log('Received data:'  + data);
    }
});

var mb = new iviva.MessageBus(account);
mb.init(function(){
    mb.subscribe('test',function(channel,message){
        console.log('received test message:' + message);
    });
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    2
    • latest

Version History

Package Sidebar

Install

npm i ivivacloud-node

Weekly Downloads

2

Version

0.0.6

License

MIT

Last publish

Collaborators

  • ivivacloud