Using circleci-go with circleci.com

Go integration

Install
go get github.com/swissknife/circleci-go
Quick start
import "circleci-go"

// Initialize client
client := circleci-go.NewClient("YOUR_API_KEY")
Provides information about the signed in user.
curl \
  # append ?circle-token=$API_KEY to the URL \
  https://circleci.com/api/v1/me
List of all the projects you're following on CircleCI, with build information…
curl \
  # append ?circle-token=$API_KEY to the URL \
  https://circleci.com/api/v1/projects
Build summary for each of the last 30 recent builds, ordered by build_num.
curl \
  # append ?circle-token=$API_KEY to the URL \
  https://circleci.com/api/v1/recent-builds
SDK on GitHub 📄 API Docs
SDK
circleci-go
Go
API
circleci.com
circleci.com
At a glance
Language Go
Endpoints22
Base URLhttps://circleci.com/api/v1