README
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:
Import the module:
var earthport-rest-api-client = require('earthport-rest-api-client');
Configure any authentication parameters. For example:
var config = earthport-rest-api-client.configuration; config.apikey = a_secret_key;
Access various controllers by:
var controller = earthport-rest-api-client.XYZ; controller.getItems(id, callback);