{"id":32662436,"url":"https://github.com/caiguanhao/alidnsslim","last_synced_at":"2026-02-14T16:37:01.311Z","repository":{"id":57656221,"uuid":"457199219","full_name":"caiguanhao/alidnsslim","owner":"caiguanhao","description":"Alidns API 阿里云 云解析","archived":false,"fork":false,"pushed_at":"2022-02-10T02:32:47.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T06:30:32.396Z","etag":null,"topics":["alidns"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/caiguanhao/alidnsslim","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/caiguanhao.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":"2022-02-09T03:50:33.000Z","updated_at":"2022-02-10T02:35:36.000Z","dependencies_parsed_at":"2022-08-25T16:21:17.963Z","dependency_job_id":null,"html_url":"https://github.com/caiguanhao/alidnsslim","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/caiguanhao/alidnsslim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Falidnsslim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Falidnsslim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Falidnsslim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Falidnsslim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caiguanhao","download_url":"https://codeload.github.com/caiguanhao/alidnsslim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caiguanhao%2Falidnsslim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29449374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"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":["alidns"],"created_at":"2025-10-31T19:20:09.633Z","updated_at":"2026-02-14T16:37:01.307Z","avatar_url":"https://github.com/caiguanhao.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alidnsslim\n\n[Alidns Docs](https://help.aliyun.com/document_detail/29749.html)\n\n## Usage\n\n```go\nimport \"github.com/caiguanhao/alidnsslim\"\n\nclient := alidnsslim.NewClient(ACCESS_KEY_ID, ACCESS_KEY_SECRET)\n\nctx := context.Background()\n\n// get all domains:\nvar domains []string\nclient.GetAll(ctx, alidnsslim.GetDomains(), \u0026domains, \"Domains.Domain.*.DomainName\")\n\n// get all records of a domain:\nvar records []struct {\n\tId         string `json:\"RecordId\"`\n\tDomainName string\n\tRR         string\n\tType       string\n\tValue      string\n}\nclient.GetAll(ctx, alidnsslim.GetDomainRecords(\"example.com\", alidnsslim.PageSize(100)), \u0026records, \"DomainRecords.Record.*\")\n\n// create hello.example.com TXT record:\nvar recordId string\nclient.Do(ctx, AddDomainRecord(\"hello\", \"example.com\", \"TXT\", \"world\"), \u0026recordId, \"RecordId\")\n\n// for other APIs, create your own params:\nvar domainId string\nclient.MustDo(ctx, alidnsslim.Params(\n\t\"Action\", \"AddDomain\",\n\t\"DomainName\", \"foobar.com\",\n), \u0026domainId, \"DomainId\")\n\n// which is the same as:\nparams := url.Values{}\nparams.Set(\"Action\", \"AddDomain\")\nparams.Set(\"DomainName\", \"foobar.com\")\nclient.MustDo(ctx, params, \u0026domainId, \"DomainId\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiguanhao%2Falidnsslim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaiguanhao%2Falidnsslim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiguanhao%2Falidnsslim/lists"}