{"id":13414007,"url":"https://github.com/jszwedko/go-circleci","last_synced_at":"2025-03-17T06:31:24.677Z","repository":{"id":36431483,"uuid":"40736488","full_name":"jszwedko/go-circleci","owner":"jszwedko","description":"Go library for interacting with CircleCI","archived":false,"fork":false,"pushed_at":"2024-01-27T20:24:26.000Z","size":82,"stargazers_count":65,"open_issues_count":3,"forks_count":49,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-12T18:42:04.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jszwedko.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-08-14T21:19:36.000Z","updated_at":"2024-06-13T21:20:20.000Z","dependencies_parsed_at":"2024-01-27T21:24:03.294Z","dependency_job_id":"c1efc3ef-4a83-44af-9a2d-406ed6376486","html_url":"https://github.com/jszwedko/go-circleci","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jszwedko%2Fgo-circleci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jszwedko%2Fgo-circleci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jszwedko%2Fgo-circleci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jszwedko%2Fgo-circleci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jszwedko","download_url":"https://codeload.github.com/jszwedko/go-circleci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243846978,"owners_count":20357297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:01:55.036Z","updated_at":"2025-03-17T06:31:24.338Z","avatar_url":"https://github.com/jszwedko.png","language":"Go","funding_links":[],"categories":["Third-party APIs","第三方api","第三方API","\u003cspan id=\"第三方api-third-party-apis\"\u003e第三方API Third-party APIs\u003c/span\u003e","Utility"],"sub_categories":["Utility/Miscellaneous","HTTP Clients","实用程序/Miscellaneous","Advanced Console UIs","Fail injection","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","查询语"],"readme":"## go-circleci\n[![GoDoc](https://godoc.org/github.com/jszwedko/go-circleci?status.svg)](http://godoc.org/github.com/jszwedko/go-circleci)\n[![Circle CI](https://circleci.com/gh/jszwedko/go-circleci.svg?style=svg)](https://circleci.com/gh/jszwedko/go-circleci)\n[![Go Report Card](https://goreportcard.com/badge/github.com/jszwedko/go-circleci)](https://goreportcard.com/report/github.com/jszwedko/go-circleci)\n[![coverage](https://gocover.io/_badge/github.com/jszwedko/go-circleci?0 \"coverage\")](http://gocover.io/github.com/jszwedko/go-circleci)\n\nGo library for interacting with [CircleCI's API](https://circleci.com/docs/api). Supports all current API endpoints allowing you do do things like:\n\n* Query for recent builds\n* Get build details\n* Retry builds\n* Manipulate checkout keys, environment variables, and other settings for a project\n\n**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.**\n\nExample usage:\n\n```golang\npackage main\n\nimport (\n        \"fmt\"\n\n        \"github.com/jszwedko/go-circleci\"\n)\n\nfunc main() {\n        client := \u0026circleci.Client{Token: \"YOUR TOKEN\"} // Token not required to query info for public projects\n\n        builds, _ := client.ListRecentBuildsForProject(\"jszwedko\", \"circleci-cli\", \"master\", \"\", -1, 0)\n\n        for _, build := range builds {\n                fmt.Printf(\"%d: %s\\n\", build.BuildNum, build.Status)\n        }\n}\n```\n\nFor the CLI that uses this library (or to see more example usages), please see\n[circleci-cli](https://github.com/jszwedko/circleci-cli).\n\nSee [GoDoc](http://godoc.org/github.com/jszwedko/go-circleci) for API usage.\n\nFeature requests and issues welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjszwedko%2Fgo-circleci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjszwedko%2Fgo-circleci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjszwedko%2Fgo-circleci/lists"}