This is a Go implementation of the CLC v1 API.
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:
- Via commandline flags:
-k <your-API-key>
,-p <your-API-pass>
.
- Using environment variables:
CLC_V1_API_KEY=<your-API-key>
,CLC_V1_API_PASS=<your-API-pass>
.