1.1.3 • Published 9 years ago

cirrent-sdk v1.1.3

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
9 years ago

Cirrent SDK

Installation

npm install cirrent-sdk

Usage

To write an app using the SDK

  • Register for a developer account and get your API_KEY and API_SECRET at Cirrent Developer Portal.
  • Add dependency 'cirrent-sdk' in your package.json file.
  • Require 'cirrent-sdk' in your file

    var cirrent = require('cirrent-sdk');
  • Configure the API you use with parameters (API_KEY, API_SECRET).

    cirrent.configureSys({
      'API_KEY': '<API_KEY>',
      'API_SECRET': '<API_SECRET'
    });
  • Start calling methods. Example: Get devices
    cirrent.sys.getDevices(function (error, devices) {
        if (error) {
            throw error;
        } else {
            console.log("Get Devices Response", devices);
        }
    });

Running Samples

Samples are located in the samples directory.

To run:

node samples/sample_get_devices.js
1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago