{"id":19043393,"url":"https://github.com/statuscakedev/statuscake-go","last_synced_at":"2026-05-09T09:30:19.910Z","repository":{"id":41970522,"uuid":"399956483","full_name":"StatusCakeDev/statuscake-go","owner":"StatusCakeDev","description":"StatusCake Go SDK","archived":false,"fork":false,"pushed_at":"2025-01-27T01:01:33.000Z","size":309,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T02:18:44.945Z","etag":null,"topics":["api-client","statuscake"],"latest_commit_sha":null,"homepage":"https://developers.statuscake.com","language":null,"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/StatusCakeDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-08-25T21:02:37.000Z","updated_at":"2025-01-27T01:01:36.000Z","dependencies_parsed_at":"2023-01-21T19:15:12.138Z","dependency_job_id":"f075655d-ac45-4c5b-baa5-ad929192693c","html_url":"https://github.com/StatusCakeDev/statuscake-go","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatusCakeDev%2Fstatuscake-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatusCakeDev%2Fstatuscake-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatusCakeDev%2Fstatuscake-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatusCakeDev%2Fstatuscake-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StatusCakeDev","download_url":"https://codeload.github.com/StatusCakeDev/statuscake-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100563,"owners_count":19747689,"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":["api-client","statuscake"],"created_at":"2024-11-08T22:41:45.575Z","updated_at":"2026-05-09T09:30:19.847Z","avatar_url":"https://github.com/StatusCakeDev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# statuscake-go ![test](https://github.com/StatusCakeDev/statuscake-go/workflows/test/badge.svg)\n\nThe [Go](https://golang.org/) implementation of the [StatusCake\nAPI](https://www.statuscake.com/api/v1) client. Documentation for this library\ncan be found [here](https://www.statuscake.com/api/v1).\n\n## Prerequisites\n\nYou will need the following things properly installed on your computer:\n\n- [Go](https://golang.org/): any one of the **three latest major**\n  [releases](https://golang.org/doc/devel/release.html)\n\n## Installation\n\nWith [Go module](https://github.com/golang/go/wiki/Modules) support (Go 1.11+),\nadd the following import\n\n```go\nimport \"github.com/StatusCakeDev/statuscake-go\"\n```\n\nto your code, and then `go [build|run|test]` will automatically fetch the\nnecessary dependencies.\n\nOtherwise, to install the `statuscake-go` package, run the following command:\n\n```bash\ngo get -u github.com/StatusCakeDev/statuscake-go\n```\n\n## Usage\n\nWithin any Go file instantiate an API client and execute a request:\n\n```go\npackage main\n\nimport (\n  \"context\"\n  \"fmt\"\n\n  \"github.com/StatusCakeDev/statuscake-go\"\n  \"github.com/StatusCakeDev/statuscake-go/credentials\"\n)\n\nfunc main() {\n  bearer := credentials.NewBearerWithStaticToken(apiToken)\n  client := statuscake.NewClient(statuscake.WithRequestCredentials(bearer))\n\n  tests, err := client.ListUptimeTests(context.Background()).Execute()\n  if err != nil {\n    panic(err)\n  }\n\n  fmt.Printf(\"%+v\\n\", tests.Data)\n}\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatuscakedev%2Fstatuscake-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatuscakedev%2Fstatuscake-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatuscakedev%2Fstatuscake-go/lists"}