{"id":29273665,"url":"https://github.com/simplifi/ultradns-go","last_synced_at":"2025-07-31T06:37:43.807Z","repository":{"id":57514199,"uuid":"242366860","full_name":"simplifi/ultradns-go","owner":"simplifi","description":"UltraDNS API client for Go","archived":false,"fork":false,"pushed_at":"2020-05-29T21:32:30.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-07-05T03:14:27.929Z","etag":null,"topics":[],"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/simplifi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-22T15:43:42.000Z","updated_at":"2020-04-06T18:27:39.000Z","dependencies_parsed_at":"2022-08-31T20:50:13.394Z","dependency_job_id":null,"html_url":"https://github.com/simplifi/ultradns-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simplifi/ultradns-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplifi%2Fultradns-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplifi%2Fultradns-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplifi%2Fultradns-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplifi%2Fultradns-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplifi","download_url":"https://codeload.github.com/simplifi/ultradns-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplifi%2Fultradns-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267999615,"owners_count":24178823,"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-07-31T02:00:08.723Z","response_time":66,"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":[],"created_at":"2025-07-05T02:36:31.758Z","updated_at":"2025-07-31T06:37:43.745Z","avatar_url":"https://github.com/simplifi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ultradns-go\n\nProvides an UltraDNS API package called `ultradns` for go\n\n## Usage\n\nImport:\n```go\nimport \"github.com/simplifi/ultradns-go\"\n```\n\nTo do a basic API connection and call, construct an `ultradns.APIConnection` struct. `ultradns.NewAPIConnection()` is\nprovided to apply default configuration while still allowing control over the underlying connection.\n\nWhen creating the struct either via the `NewAPIConnection()` call, or directly, either the `Username`/`Password` or\n`RefreshToken` must be set. If you pass both, the `RefreshToken` takes precedence.\n\nThis project only supports the JSON API request/response for UltraDNS, not the optional XML format.\n\n```go\napiConn := ultradns.NewAPIConnection(\u0026ultradns.APIOptions{\n  // API Username.\n  Username: \"\",\n\n  // API Password. \n  Password: \"\",\n\n  // This refresh token can be used in lieu of username/password. To initially get a RefreshToken requires a\n  // Username/Password, however.\n  RefreshToken: \"\",\n\n  // Defaults to \"https://api.ultradns.com\". Typically only overridden to allow testing or to use a sandbox endpoint.\n  BaseURL: \"https://api.ultradns.com\",\n\n  // Timeout is a time.Duration given to the underlying http.Client\n  Timeout: 5 * time.Second,\n})\n\n// apiConn has a similar API to go's net/http library\n\n// Send a GET request to the given path. Returns a http.Response pointer and error.\nresp, err := apiConn.Get(\"/some/api/path\")\n\n// Send a POST request to the given path. Returns a http.Response pointer and error.\nresp, err := apiConn.Post(\"/some/api/path\", json_to_send)\n```\n\n## Examples\n\nThere are various examples in `examples/` that give real examples. Most require passing in a -user and -pass flag to\nauthenticate with UltraDNS. To build an example, run `make \u003cname of example\u003e`\n\nFor example, to compile and run the status example from `examples/status/main.go`:\n```\nmake status\n./status -user \u003cusername\u003e -pass \u003cpassword\u003e\n```\n\n## Testing\n\nEnsure that golint is installed\n```\ngo get -u golang.org/x/lint/golint\n```\n\nRun all tests, linters, etc with `make`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplifi%2Fultradns-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplifi%2Fultradns-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplifi%2Fultradns-go/lists"}