mpx-sdk

0.1.0-pre.20131112.0 • Public • Published

MPX SDK for Node.js

Build Status NPM version Code Climate

Installation

You can install SDK with npm:

npm install mpx-sdk

Usage

An example how to use SDK:

// Require MPX SDK in your application
var MPX = require('mpx-sdk');

// Configure SDK with your access keys
MPX.config.update({ accessKey: 'your-access-key', secretKey: 'your-secret-key' });

// Initialize service SDK
var assetHost = new MPX.AssetHost();

// If neccessary, reconfigure adapter (e.g. for limited usability of your access key pair)
assetHost.config.update({ secretKey: 'specific-key' });

// Call service and get data
assetHost.listFTPDeliveries(function(error, response) {
  if(error) {
    console.log('There has been an error: ' + error.message);
  } else {
    console.log(response);
  }
});

Supported Services

Service Name Class Name API Version
Asset Host MPX.AssetHost v20131101

License

MPX SDK is released under the MIT License.

/mpx-sdk/

    Package Sidebar

    Install

    npm i mpx-sdk

    Weekly Downloads

    7

    Version

    0.1.0-pre.20131112.0

    License

    MIT

    Last publish

    Collaborators

    • davidhorsak