node-clc-sdk
v0.0.5
Published
node-clc-sdk
Downloads
3
Keywords
Readme
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.