{"id":29956094,"url":"https://github.com/ghifari160/zei","last_synced_at":"2025-08-03T18:10:10.389Z","repository":{"id":305823008,"uuid":"1023947367","full_name":"Ghifari160/zei","owner":"Ghifari160","description":"Go HTTP Client library built atop the standard library's net/http.Client.","archived":false,"fork":false,"pushed_at":"2025-07-22T05:53:38.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-22T07:43:20.559Z","etag":null,"topics":["golang","golang-library","http","http-client"],"latest_commit_sha":null,"homepage":"","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/Ghifari160.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}},"created_at":"2025-07-22T00:44:29.000Z","updated_at":"2025-07-22T05:42:15.000Z","dependencies_parsed_at":"2025-07-22T07:43:27.309Z","dependency_job_id":"b6707d71-c836-4bdf-87b0-a29a65a17757","html_url":"https://github.com/Ghifari160/zei","commit_stats":null,"previous_names":["ghifari160/zei"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Ghifari160/zei","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghifari160%2Fzei","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghifari160%2Fzei/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghifari160%2Fzei/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghifari160%2Fzei/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ghifari160","download_url":"https://codeload.github.com/Ghifari160/zei/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ghifari160%2Fzei/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268587520,"owners_count":24274573,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","golang-library","http","http-client"],"created_at":"2025-08-03T18:10:05.682Z","updated_at":"2025-08-03T18:10:10.357Z","avatar_url":"https://github.com/Ghifari160.png","language":"Go","readme":"\u003c!-- markdownlint-configure-file {\n    \"hard_tab\": {\n        \"ignore_code_languages\": [ \"go\",\"golang\" ]\n    }\n} --\u003e\n# Zei\n\nGo HTTP Client library built atop the standard library's [net/http.Client].\n\n## Install\n\n``` shell\ngo get -u github.com/ghifari160/zei\n```\n\n## Usage\n\n[Documentation]\n\n### Quick Start\n\n``` go\npackage main\n\nimport \"github.com/ghifari160/zei\"\n\nfunc main() {\n\tclient := zei.New(\u0026zei.Config{})\n\tresp, err := client.Get(\"http://example.com/\")\n\tif err != nil {\n\t\t// Handle error\n\t}\n\tdefer resp.Body.Close()\n\t// ...\n}\n```\n\n### Set user agent\n\n``` go\nclient := zei.New(\u0026zei.Config{UserAgent: \"App/1.0\"})\nresp, err := client.Get(\"http://example.com/\")\n```\n\n### Set timeout\n\n``` go\nclient := zei.New(\u0026zei.Config{Timeout: 1 * time.Minute})\nresp, err := client.Get(\"http://example.com/\")\n```\n\n### Set authorization\n\n``` go\nconfig := zei.Config{}\n// Basic Authentication\nconfig.SetBasicAuth(\"username\", \"password\")\n// Bearer Authentication\nconfig.SetBearerAuth(\"token_value\")\n\nclient := zei.New(\u0026config)\nresp, err := client.Get(\"http://example.com/\")\n```\n\n[Documentation]: https://pkg.go.dev/github.com/ghifari160/zei\n[net/http.Client]: https://pkg.go.dev/net/http#Client\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghifari160%2Fzei","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghifari160%2Fzei","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghifari160%2Fzei/lists"}