node-clc-sdk

0.0.5 • Public • Published

node-clc-sdk

Node.js API Wrapper for CenturyLink Cloud's API

Installation

This module is published to NPMJS

export CLC_V1_API_KEY="YourCLCPortalAPIKey"
export CLC_V1_API_PASSWD="YourCLCPortalAPIPassword"
export CLC_V2_API_USERNAME="YourCLCPortalUsernameHere"
export CLC_V2_API_PASSWD="YourCLCPortalPasswordHere"

npm install --save node-clc-sdk

The --save tells NPM to automatically add it to your package.json file

Usage

// Import the module
var clc = require('node-clc-sdk');

clc.authentication.login(function(error, response, data){
  if (error) {
    return console.error(error);
  }
  console.log(data)
});

Methods

All methods follow the official API documentation.

If a method uses Query Parameters, please account for them in your parameters. The format for query parameters is "searchTerm1=search&searchTerm2=search" and so on.

Convention for callback arguments: callback(error, response, data)

License

MIT license. See the LICENSE file for details.

/node-clc-sdk/

    Package Sidebar

    Install

    npm i node-clc-sdk

    Weekly Downloads

    1

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • ernestgwilsonii
    • kmart2234