Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - jszwedko/go-circleci: Go library for interacting with CircleCI

Go library for interacting with CircleCI. Contribute to jszwedko/go-circleci development by creating an account on GitHub.

Visit SiteGitHub - jszwedko/go-circleci: Go library for interacting with CircleCI

GitHub - jszwedko/go-circleci: Go library for interacting with CircleCI

Go library for interacting with CircleCI. Contribute to jszwedko/go-circleci development by creating an account on GitHub.

Powered by 0x5a.live ๐Ÿ’—

go-circleci

GoDoc Circle CI Go Report Card coverage

Go library for interacting with CircleCI's API. Supports all current API endpoints allowing you do do things like:

  • Query for recent builds
  • Get build details
  • Retry builds
  • Manipulate checkout keys, environment variables, and other settings for a project

The CircleCI HTTP API response schemas are not well documented so please file an issue if you run into something that doesn't match up.

Example usage:

package main

import (
        "fmt"

        "github.com/jszwedko/go-circleci"
)

func main() {
        client := &circleci.Client{Token: "YOUR TOKEN"} // Token not required to query info for public projects

        builds, _ := client.ListRecentBuildsForProject("jszwedko", "circleci-cli", "master", "", -1, 0)

        for _, build := range builds {
                fmt.Printf("%d: %s\n", build.BuildNum, build.Status)
        }
}

For the CLI that uses this library (or to see more example usages), please see circleci-cli.

See GoDoc for API usage.

Feature requests and issues welcome!

GoLang Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.