1.0.0 • Published 6 years ago

earthport-rest-api-client v1.0.0

Weekly downloads
3
License
-
Repository
-
Last release
6 years ago

EarthportRestApiClient

Installation

The SDK relies on Node Package Manager (NPM) being available to resolve dependencies. Once published you will need copy the folder earthport-rest-api-client in to your node_modules folder.

Usage

The following shows how import and use the controller:

  1. Import the module:

    var earthport-rest-api-client = require('earthport-rest-api-client');
  2. Configure any authentication parameters. For example:

    var config = earthport-rest-api-client.configuration;
    config.apikey = a_secret_key;
  3. Access various controllers by:

    var controller = earthport-rest-api-client.XYZ;
    controller.getItems(id, callback);