{"id":26178671,"url":"https://github.com/loadsmart/go-coveralls-api","last_synced_at":"2025-04-14T22:26:59.052Z","repository":{"id":57509452,"uuid":"236539823","full_name":"loadsmart/go-coveralls-api","owner":"loadsmart","description":"Client for Coveralls.io API written in Go","archived":false,"fork":false,"pushed_at":"2024-11-05T15:41:12.000Z","size":29,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":57,"default_branch":"master","last_synced_at":"2025-03-28T10:47:32.625Z","etag":null,"topics":["coveralls-api","golang"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/loadsmart/go-coveralls-api","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/loadsmart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-27T16:45:03.000Z","updated_at":"2024-11-05T15:41:14.000Z","dependencies_parsed_at":"2024-06-20T17:19:51.419Z","dependency_job_id":"7a524178-4777-4540-81cb-e77798e79147","html_url":"https://github.com/loadsmart/go-coveralls-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsmart%2Fgo-coveralls-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsmart%2Fgo-coveralls-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsmart%2Fgo-coveralls-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loadsmart%2Fgo-coveralls-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loadsmart","download_url":"https://codeload.github.com/loadsmart/go-coveralls-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248970725,"owners_count":21191478,"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":["coveralls-api","golang"],"created_at":"2025-03-11T21:42:04.105Z","updated_at":"2025-04-14T22:26:59.023Z","avatar_url":"https://github.com/loadsmart.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-coveralls-api\n\n[![Coverage Status](https://coveralls.io/repos/github/loadsmart/go-coveralls-api/badge.svg?branch=master)](https://coveralls.io/github/loadsmart/go-coveralls-api?branch=master)\n[![GoDoc](https://godoc.org/github.com/loadsmart/go-coveralls-api?status.svg)](https://godoc.org/github.com/loadsmart/go-coveralls-api)\n\nClient for [Coveralls API][] written in Go.\n\n**Note**: the goal is to interact with administrative Coveralls API. To send coverage data, take a look at [goveralls][] project.\n\n## Installation\n\nJust follow the usual instructions for Go libraries:\n\n```bash\ngo get github.com/loadsmart/go-coveralls-api\n```\n\n`go-coveralls-api` uses Go Modules and therefore requires Go 1.11+.\n\n## Usage\n\nTo get the ID of a repo already configured in Coveralls\n\n```go\nimport (\n    \"context\"\n    \"fmt\"\n    \"log\"\n\n    \"github.com/loadsmart/go-coveralls-api\"\n)\n\nclient := coveralls.NewClient(\"your-personal-access-token\")\nrepository, err := client.Repositories.Get(context.Background(), \"github\", \"user/repository\")\nif err != nil {\n    log.Fatalf(\"Error querying Coveralls API: %s\\n\", err)\n}\n\nfmt.Printf(\"Project has ID %d in Coveralls\", repository.ID)\n```\n\nReplace `your-personal-access-token` with your personal access token (can be found in your Coveralls account page).\n\n## License\n\nThis work is copyrighted to Loadsmart, Inc. and licensed under MIT. For details see [LICENSE][] file.\n\n[Coveralls API]: https://docs.coveralls.io/api-introduction\n[goveralls]: https://github.com/mattn/goveralls\n[LICENSE]: ./LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadsmart%2Fgo-coveralls-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floadsmart%2Fgo-coveralls-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floadsmart%2Fgo-coveralls-api/lists"}