{"id":37146503,"url":"https://github.com/newreleasesio/client-go","last_synced_at":"2026-01-14T17:03:15.532Z","repository":{"id":57480694,"uuid":"185035011","full_name":"newreleasesio/client-go","owner":"newreleasesio","description":"NewReleases API v1 Go client","archived":false,"fork":false,"pushed_at":"2022-11-30T15:40:39.000Z","size":87,"stargazers_count":35,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-17T14:42:11.560Z","etag":null,"topics":["api-client","go","golang","releases","tracker"],"latest_commit_sha":null,"homepage":"https://newreleases.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newreleasesio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-05T13:28:21.000Z","updated_at":"2024-10-15T03:46:24.000Z","dependencies_parsed_at":"2023-01-22T07:00:12.454Z","dependency_job_id":null,"html_url":"https://github.com/newreleasesio/client-go","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/newreleasesio/client-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newreleasesio%2Fclient-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newreleasesio%2Fclient-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newreleasesio%2Fclient-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newreleasesio%2Fclient-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newreleasesio","download_url":"https://codeload.github.com/newreleasesio/client-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newreleasesio%2Fclient-go/sbom","scorecard":{"id":681912,"data":{"date":"2025-08-11","repo":{"name":"github.com/newreleasesio/client-go","commit":"63b338179690a0ea7821cb991e255060442c82d3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/newreleasesio/client-go/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/newreleasesio/client-go/go.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/newreleasesio/client-go/go.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/newreleasesio/client-go/go.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T23:28:01.506Z","repository_id":57480694,"created_at":"2025-08-21T23:28:01.506Z","updated_at":"2025-08-21T23:28:01.506Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28427183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api-client","go","golang","releases","tracker"],"created_at":"2026-01-14T17:03:14.897Z","updated_at":"2026-01-14T17:03:15.521Z","avatar_url":"https://github.com/newreleasesio.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# NewReleases API v1 Go client\n\n[![Go](https://github.com/newreleasesio/client-go/workflows/Go/badge.svg)](https://github.com/newreleasesio/client-go/actions)\n[![GoDoc](https://godoc.org/newreleases.io/newreleases?status.svg)](https://godoc.org/newreleases.io/newreleases)\n[![NewReleases](https://newreleases.io/badge.svg)](https://newreleases.io/github/newreleasesio/client-go)\n\nPackage newreleases is a Go client library for accessing the [NewReleases](https://newreleases.io) v1 API.\n\nYou can view the client API docs here: [https://godoc.org/newreleases.io/newreleases](https://godoc.org/newreleases.io/newreleases)\n\nYou can view NewReleases API docs here: [https://newreleases.io/api/v1](https://newreleases.io/api/v1)\n\n## Installation\n\nRun `go get newreleases.io/newreleases` from command line.\n\n## Usage\n\n```go\nimport \"newreleases.io/newreleases\"\n```\n\nCreate a new Client, then use the exposed services to access different parts of the API.\n\n## Authentication\n\nCurrently, API keys is the only method of\nauthenticating with the API. You can manage your keys\nat the NewReleases [API keys settings page](https://newreleases.io/settings/api-keys).\n\nYou can then use your token to create a new Client.\n\n## Features\n\nThis client implements all NewReleases API features.\n\n- List projects\n- Search projects\n- Get project\n- Add project\n- Update project\n- Delete project\n- List projects releases\n- Get project release\n- Get latest non-excluded project release\n- Get project release note\n- Get tracked providers\n- Get added Slack Channels\n- Get added Telegram Chats\n- Get added Dissord Channels\n- Get added Hangouts Chat webhooks\n- Get added Microsoft Teams webhooks\n- Get added Mattermost webhooks\n- Get added Rocket.Chat webhooks\n- Get added Matrix Rooms\n- Get added custom Webhooks\n- List tags\n- Get tag\n- Add tag\n- Update tag\n- Delete tag\n- Get auth keys\n\n## Examples\n\nTo add a new project:\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"log\"\n\n    \"newreleases.io/newreleases\"\n)\n\nvar key = \"myapikey\"\n\nfunc main() {\n    client := newreleases.NewClient(key, nil)\n    p, err := client.Projects.Add(\n        context.Background(),\n        \"github\",\n        \"golang/go\",\n        newreleases.ProjectOptions{\n            EmailNotification: \u0026newreleases.EmailNotificationHourly,\n        }\n    )\n    if err != nil {\n        log.Fatal(err)\n    }\n    log.Print(p.ID)\n}\n```\n\nList projects with pagination:\n\n```go\nfunc AllProjects(ctx context.Context, client *newreleases.Client) (pp []newreleases.Project, err error) {\n    o := \u0026newreleases.ProjectListOptions{\n        Page: 1,\n    }\n    for {\n        projects, lastPage, err := client.Projects.List(ctx, o)\n        if err != nil {\n            return nil, err\n        }\n\n        pp = append(pp, projects...)\n\n        if o.Page \u003e= lastPage {\n            break\n        }\n        o.Page++\n    }\n\n    return pp, nil\n}\n```\n\n## Versioning\n\nEach version of the client is tagged and the version is updated accordingly.\n\nThis package uses Go modules.\n\nTo see the list of past versions, run `git tag`.\n\n## Contributing\n\nWe love pull requests! Please see the [contribution guidelines](CONTRIBUTING.md).\n\n## License\n\nThis library is distributed under the BSD-style license found in the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewreleasesio%2Fclient-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewreleasesio%2Fclient-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewreleasesio%2Fclient-go/lists"}