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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.51latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.51
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i node-clc-sdk

Weekly Downloads

1

Version

0.0.5

License

MIT

Last publish

Collaborators

  • ernestgwilsonii
  • kmart2234