Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.66 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.66 KB

CenturyLink Cloud CLI and Python SDK

This repository contains a Python SDK and a command line interface CLI (based on the SDK) to interact with the CenturyLink Cloud API. At present this aligns most closely to V1 of the CenturyLink Cloud API though efforts are in process to merge V2 API as it nears full release.

Contents

Installing

Via Python's pip

Cross-platform installation is available via pypi. If you have pip already installed the following command will get you running:

> pip install clc-sdk

This should automatically install the following dependencies used by the CLI: prettytable, clint, argparse, requests

If you do not have pip (the Python package manager) installed a quickstart install of this prereq on Linux/Mac is:

> curl https://bootstrap.pypa.io/get-pip.py | sudo python

Windows pre-packaged executable

The CLI is available as a prepackaged single-file Windows executable and the most recent compiled version is always available here. Note also that all examples below will need to be modified since the Windows command line executable is clc-cli (to eliminate conflict with the a standard installed PS commandlet.