{"id":21740900,"url":"https://github.com/whois-api-llc/go-email-verifier","last_synced_at":"2025-03-21T01:15:34.022Z","repository":{"id":57696051,"uuid":"491443412","full_name":"whois-api-llc/go-email-verifier","owner":"whois-api-llc","description":"Email Verification API client library for Go","archived":false,"fork":false,"pushed_at":"2022-05-12T09:33:07.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T21:27:58.807Z","etag":null,"topics":["email","email-verification","go","golang","verification","whoisxmlapi"],"latest_commit_sha":null,"homepage":"https://emailverification.whoisxmlapi.com/api","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/whois-api-llc.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-05-12T09:15:38.000Z","updated_at":"2022-11-09T07:22:50.000Z","dependencies_parsed_at":"2022-09-06T11:10:51.998Z","dependency_job_id":null,"html_url":"https://github.com/whois-api-llc/go-email-verifier","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fgo-email-verifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fgo-email-verifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fgo-email-verifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whois-api-llc%2Fgo-email-verifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whois-api-llc","download_url":"https://codeload.github.com/whois-api-llc/go-email-verifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244717339,"owners_count":20498284,"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":["email","email-verification","go","golang","verification","whoisxmlapi"],"created_at":"2024-11-26T06:15:51.568Z","updated_at":"2025-03-21T01:15:33.998Z","avatar_url":"https://github.com/whois-api-llc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![go-email-verifier license](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![go-email-verifier made-with-Go](https://img.shields.io/badge/Made%20with-Go-1f425f.svg)](https://pkg.go.dev/github.com/whois-api-llc/go-email-verifier)\n[![go-email-verifier test](https://github.com/whois-api-llc/go-email-verifier/workflows/Test/badge.svg)](https://github.com/whois-api-llc/go-email-verifier/actions/)\n\n# Overview\n\nThe client library for\n[Email Verification API](https://emailverification.whoisxmlapi.com)\nin Go language.\n\nThe minimum go version is 1.17.\n\n# Installation\n\nThe library is distributed as a Go module\n\n```bash\ngo get github.com/whois-api-llc/go-email-verifier\n```\n\n# Examples\n\nFull API documentation available [here](https://emailverification.whoisxmlapi.com/api/documentation/making-requests)\n\nYou can find all examples in `example` directory.\n\n## Create a new client\n\nTo start making requests you need the API Key. \nYou can find it on your profile page on [whoisxmlapi.com](https://whoisxmlapi.com/).\nUsing the API Key you can create Client.\n\nMost users will be fine with `NewBasicClient` function. \n```go\nclient := emailverifier.NewBasicClient(apiKey)\n```\n\nIf you want to set custom `http.Client` to use proxy then you can use `NewClient` function.\n```go\ntransport := \u0026http.Transport{Proxy: http.ProxyURL(proxyUrl)}\n\nclient := emailverifier.NewClient(apiKey, emailverifier.ClientParams{\n    HTTPClient: \u0026http.Client{\n        Transport: transport,\n        Timeout:   20 * time.Second,\n    },\n})\n```\n\n## Make basic requests\n\nEmail Verification API performs a comprehensive validation of email addresses in real-time and conveniently. \n\n```go\n\n// Make request to get parsed Email Verification API response\nevapiResp, _, err := client.EvapiService.Get(context.Background(), \"support@whoisxmlapi.com\")\nif err != nil {\n    log.Fatal(err)\n}\n\n// Check if an email address is valid\nif !*evapiResp.FormatCheck {\n    log.Printf(\"\\\"%s\\\" is invalid email address\", evapiResp.EmailAddress)\n}\n\n// Make request to get raw Email Verification API data\nresp, err := client.EvapiService.GetRaw(ctx, \"whoisxmlapi.com\")\nif err != nil {\n    log.Fatal(err)\n}\n\nlog.Println(string(resp.Body))\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhois-api-llc%2Fgo-email-verifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhois-api-llc%2Fgo-email-verifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhois-api-llc%2Fgo-email-verifier/lists"}