Skip to content

grrtrr/clcv1

Repository files navigation

CenturyLink Cloud v1 API

This is a Go implementation of the CLC v1 API.

Getting started

Get this package from inside your $GOPATH:

> go get -d   github.com/grrtrr/clcv1

Try some of the examples in the examples/ folder. These illustrate individual API calls.

Most have help screens (-h). The library supports debug output via -d.

Credentials can be passed in one of two forms:

  1. Via commandline flags:
  • -k <your-API-key>,
  • -p <your-API-pass>.
  1. Using environment variables:
  • CLC_V1_API_KEY=<your-API-key>,
  • CLC_V1_API_PASS=<your-API-pass>.