{"id":22812495,"url":"https://github.com/namecheap/go-namecheap-sdk","last_synced_at":"2025-04-05T22:07:51.171Z","repository":{"id":40551784,"uuid":"52986589","full_name":"namecheap/go-namecheap-sdk","owner":"namecheap","description":"Go library for Namecheap API","archived":false,"fork":false,"pushed_at":"2024-11-21T21:54:27.000Z","size":792,"stargazers_count":46,"open_issues_count":2,"forks_count":25,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-29T21:06:31.460Z","etag":null,"topics":["namecheap","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"","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/namecheap.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-02T18:33:56.000Z","updated_at":"2025-02-28T21:55:45.000Z","dependencies_parsed_at":"2025-01-08T22:21:47.745Z","dependency_job_id":"7657819c-6d11-45d4-9acd-481ce540a941","html_url":"https://github.com/namecheap/go-namecheap-sdk","commit_stats":{"total_commits":87,"total_committers":13,"mean_commits":"6.6923076923076925","dds":0.5632183908045977,"last_synced_commit":"6e8611104d9474a978fdf31194547a516d154312"},"previous_names":["adamdecaf/namecheap"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namecheap%2Fgo-namecheap-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namecheap%2Fgo-namecheap-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namecheap%2Fgo-namecheap-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namecheap%2Fgo-namecheap-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namecheap","download_url":"https://codeload.github.com/namecheap/go-namecheap-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406090,"owners_count":20933803,"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":["namecheap","terraform","terraform-provider"],"created_at":"2024-12-12T12:12:56.908Z","updated_at":"2025-04-05T22:07:51.150Z","avatar_url":"https://github.com/namecheap.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Go Namecheap SDK\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/namecheap/go-namecheap-sdk.svg)](https://pkg.go.dev/github.com/namecheap/go-namecheap-sdk/v2)\n\n- [Namecheap API Documentation](https://www.namecheap.com/support/api/intro/)\n- [Sandbox](https://www.namecheap.com/support/knowledgebase/article.aspx/763/63/what-is-sandbox/)\n\n### Getting\n\n```sh\n$ go get github.com/namecheap/go-namecheap-sdk/v2\n```\n\n### Usage\n\n```go\nimport (\n    \"github.com/namecheap/go-namecheap-sdk/v2\"\n)\n\nclient := NewClient(\u0026ClientOptions{\n    UserName:   \"UserName\",\n    ApiUser:    \"ApiUser\",\n    ApiKey:     \"ApiKey\",\n    ClientIp:   \"10.10.10.10\",\n    UseSandbox: false,\n})\n\nsetHostsResp, err := client.DomainsDNS.SetHosts(\u0026namecheap.DomainsDNSSetHostsArgs{\n    Domain: namecheap.String(\"domain.com\"),\n    Records: \u0026[]namecheap.DomainsDNSHostRecord{\n        {\n            HostName:   namecheap.String(\"blog\"),\n            RecordType: namecheap.String(\"A\"),\n            Address:    namecheap.String(\"11.12.13.14\"),\n        },\n    },\n})\n\n// ...\n\nresponse, err := client.DomainsDNS.GetHosts(\"domain.com\")\n\n// ...\n```\n\n### Sandbox\n\nBefore you start using our API, we advise you to try it in our [Sandbox](https://www.sandbox.namecheap.com/) environment. The sandbox environment was created\nexplicitly for testing purposes. All purchases processed through the sandbox API are simulated.\n\nTo start testing API in Sandbox, you will need to sign up for an account here (this account will not be associated with\nthe one you have at http://www.namecheap.com).\n\n### Contributing\n\nTo contribute, please read our [contributing](CONTRIBUTING.md) docs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamecheap%2Fgo-namecheap-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamecheap%2Fgo-namecheap-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamecheap%2Fgo-namecheap-sdk/lists"}