{"id":37177661,"url":"https://github.com/kochie/zeit-api-go","last_synced_at":"2026-01-14T20:43:09.841Z","repository":{"id":35138622,"uuid":"185721117","full_name":"kochie/zeit-api-go","owner":"kochie","description":"An API for Zeit written for Go","archived":false,"fork":false,"pushed_at":"2020-02-05T16:42:39.000Z","size":63,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-19T23:14:13.030Z","etag":null,"topics":["golang","gomock","now","zeit"],"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/kochie.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":null,"security":null,"support":null}},"created_at":"2019-05-09T03:38:50.000Z","updated_at":"2024-06-19T23:14:13.031Z","dependencies_parsed_at":"2022-08-08T05:16:06.977Z","dependency_job_id":null,"html_url":"https://github.com/kochie/zeit-api-go","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kochie/zeit-api-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kochie%2Fzeit-api-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kochie%2Fzeit-api-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kochie%2Fzeit-api-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kochie%2Fzeit-api-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kochie","download_url":"https://codeload.github.com/kochie/zeit-api-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kochie%2Fzeit-api-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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":["golang","gomock","now","zeit"],"created_at":"2026-01-14T20:43:09.079Z","updated_at":"2026-01-14T20:43:09.830Z","avatar_url":"https://github.com/kochie.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZEIT API\n[![Build Status](https://travis-ci.com/kochie/zeit-api-go.svg?token=DyduaqJxsshHLt3JzTx3\u0026branch=master)](https://travis-ci.com/kochie/zeit-api-go)\n[![GoDoc](https://godoc.org/github.com/kochie/zeit-api-go?status.svg)](https://godoc.org/github.com/kochie/zeit-api-go)\n[![Coverage Status](https://coveralls.io/repos/github/kochie/zeit-api-go/badge.svg?branch=master)](https://coveralls.io/github/kochie/zeit-api-go?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kochie/zeit-api-go)](https://goreportcard.com/report/github.com/kochie/zeit-api-go)\n```bash\ngo get github.com/kochie/zeit-api-go\n```\n\n## Example\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/kochie/zeit-api-go\"\n)\n\nfunc main(){\n\ttoken := \"secret token\"\n\t\n\tzeitClient := zeit.NewClient(token)\n\tzeitClient.Team(\"team name\") // Team name can be optionally set\n\t\n\tdomains, err := zeitClient.GetAllDomains()\n\tif err != nil {\n\t\tfmt.Println(err.Error())\n\t}\n\t\n\tfor _, domain := range domains {\n\t\tfmt.Println(domain)\n\t}\n}\n```\n\n## Testing\nEach method should have sufficient test coverage and an integration test. To facillitate the development of tests there is a mocking interface set up which can be used. Mocks can be created using the `go generate` command or by using the `mockgen` command.\n```bash\n# Example mocking of HttpClient\nmockgen -destination=mocks/mock_http_client.go -package=mocks github.com/kochie/zeit-api-go HttpClient\n```\n\nIntegration tests will not run unless the `integration` flag is set.\n\n```bash\ngo test -tags integration\n```\n\nMore information about setting up a development environment can be found in the [contribution guide](./CONTRIBUTING.md).\n\n## APIs\nAs listed in the [API documentation](https://zeit.co/docs/api)\n\nCurrently supported endpoints are.\n- [x] Domains\n- [x] DNS\n- [ ] OAuth2\n- [ ] Authentication\n- [ ] Deployments\n- [ ] Logs\n- [ ] Certificates\n- [ ] Aliases\n- [ ] Secrets\n- [ ] Teams\n- [ ] Projects\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkochie%2Fzeit-api-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkochie%2Fzeit-api-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkochie%2Fzeit-api-go/lists"}