1.1.3 • Published 10 years ago

cirrent-sdk v1.1.3

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
10 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

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago