{"id":39814814,"url":"https://github.com/gonzolino/gotado","last_synced_at":"2026-01-18T12:47:11.294Z","repository":{"id":38339612,"uuid":"332555569","full_name":"gonzolino/gotado","owner":"gonzolino","description":"Go client for the tado° Web API","archived":false,"fork":false,"pushed_at":"2025-11-21T17:34:06.000Z","size":465,"stargazers_count":12,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T17:11:14.444Z","etag":null,"topics":["go","golang","tado","tado-api"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/gonzolino/gotado/v2","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gonzolino.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-24T21:03:56.000Z","updated_at":"2025-11-21T17:34:09.000Z","dependencies_parsed_at":"2023-01-30T22:46:55.570Z","dependency_job_id":"91981940-3c3d-403a-8ad5-5b4f4271f474","html_url":"https://github.com/gonzolino/gotado","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/gonzolino/gotado","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonzolino%2Fgotado","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonzolino%2Fgotado/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonzolino%2Fgotado/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonzolino%2Fgotado/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gonzolino","download_url":"https://codeload.github.com/gonzolino/gotado/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonzolino%2Fgotado/sbom","scorecard":{"id":435482,"data":{"date":"2025-08-11","repo":{"name":"github.com/gonzolino/gotado","commit":"f2d9a6c27f90e855f5b3623c084302e3289c9ff0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/4 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":"Maintained","score":5,"reason":"6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/dependabot.yml:11","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:16","Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/release.yml:17","Info: jobLevel 'contents' permission set to 'read': .github/workflows/test.yml:11","Warn: no topLevel permission defined: .github/workflows/dependabot.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/release.yml:9","Warn: no topLevel permission defined: .github/workflows/test.yml:1"],"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":"Pinned-Dependencies","score":8,"reason":"dependency not pinned by hash detected -- score normalized to 8","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/gonzolino/gotado/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/gonzolino/gotado/test.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 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":"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":"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: Apache License 2.0: 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":"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":"Branch-Protection","score":8,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Warn: codeowners review is not required on branch 'main'","Info: 'last push approval' is required to merge on branch 'main'","Info: 'up-to-date branches' is required to merge on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"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"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T04:33:38.382Z","repository_id":38339612,"created_at":"2025-08-19T04:33:38.382Z","updated_at":"2025-08-19T04:33:38.382Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["go","golang","tado","tado-api"],"created_at":"2026-01-18T12:47:10.594Z","updated_at":"2026-01-18T12:47:11.243Z","avatar_url":"https://github.com/gonzolino.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gotado\n\n[![CodeQL](https://github.com/gonzolino/gotado/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/gonzolino/gotado/actions/workflows/github-code-scanning/codeql) [![Go Report Card](https://goreportcard.com/badge/github.com/gonzolino/gotado)](https://goreportcard.com/report/github.com/gonzolino/gotado) [![PkgGoDev](https://pkg.go.dev/badge/github.com/gonzolino/gotado)](https://pkg.go.dev/github.com/gonzolino/gotado)\n\nGo client for the tado° Web API. Still in early development, so only a subset of the API functionality is implemented.\n\n## Installation\n\nInstall gotado with `go get`:\n\n```sh\ngo get github.com/gonzolino/gotado\n```\n\nThen you can import `\"github.com/gonzolino/gotado\"` in your packages. Have a look at the [examples](examples) directory to see example code.\n\n## Usage\n\n### Authentication\n\nAuthentication to the tado° API is done using OAuth 2.0. The details are documented [here](https://support.tado.com/en/articles/8565472-how-do-i-authenticate-to-access-the-rest-api).\n\nGotado requires an `oauth2.Config` and a `oauth2.Token` to make authenticated requests. An authentication flow on the CLI could look like this:\n\n```golang\nctx := context.Background()\nconfig := gotado.AuthConfig(clientID)\n\ndeviceAuth, err := config.DeviceAuth(ctx)\n\n// The user must visit the verification URI and authenticate with his personal credentials.\n// Afterwards an access token will be generated.\nfmt.Printf(\"To authenticate, visit %s\\n\", deviceAuth.VerificationURIComplete)\n\ntoken, err := config.DeviceAccessToken(ctx, deviceAuth)\n```\n\nBe aware that an access token is only valid for 10 minutes. To keep authenticated for longer, you will need to request a refresh token during authentication. You can do this by adding the `offline_access` scope to the auth config:\n\n```golang\nconfig := gotado.AuthConfig(clientID, \"offline_access\")\n```\n\nGotado will automatically refresh the access token when it expires, if a refresh token is available.\n\n### Getting Started\n\nGet started by creating a client object:\n\n```golang\ntado := gotado.New(ctx, config, token)\n```\n\nWith the client you can start using the gotado functions:\n\n```golang\nme, err := tado.Me(ctx)\nfmt.Printf(\"User Email: %s\\n\", me.Email)\n\nhome, err := me.GetHome(ctx, \"My Home Name\")\nfmt.Printf(\"Home Address:\\n%s\\n%s %s\\n\", *home.Address.AddressLine1, *home.Address.ZipCode, *home.Address.City)\n```\n\nJust have a look at the package documentation to learn more about whats possible.\n\n## Contributing\n\nPlease feel free to submit issues and/or pull requests if you discover bugs or missing features.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgonzolino%2Fgotado","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgonzolino%2Fgotado","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgonzolino%2Fgotado/lists"}