{"id":15293301,"url":"https://github.com/davidesantangelo/emailhunter","last_synced_at":"2025-04-04T15:06:49.354Z","repository":{"id":31227694,"uuid":"34788875","full_name":"davidesantangelo/emailhunter","owner":"davidesantangelo","description":"EmailHunter is a minimalistic Ruby wrapper for the Hunter.io API. It provides a straightforward interface to integrate Hunter.io's email discovery capabilities into your sales and marketing workflows. ","archived":false,"fork":false,"pushed_at":"2025-02-28T12:47:14.000Z","size":65,"stargazers_count":44,"open_issues_count":3,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T14:05:22.363Z","etag":null,"topics":["email","emailhunter","hunter","ruby","rubygem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"HubPress/hubpress.io","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidesantangelo.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":"2015-04-29T10:59:12.000Z","updated_at":"2025-03-26T07:35:01.000Z","dependencies_parsed_at":"2022-08-24T00:20:54.236Z","dependency_job_id":null,"html_url":"https://github.com/davidesantangelo/emailhunter","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidesantangelo%2Femailhunter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidesantangelo%2Femailhunter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidesantangelo%2Femailhunter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidesantangelo%2Femailhunter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidesantangelo","download_url":"https://codeload.github.com/davidesantangelo/emailhunter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198443,"owners_count":20900079,"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","emailhunter","hunter","ruby","rubygem"],"created_at":"2024-09-30T16:46:08.833Z","updated_at":"2025-04-04T15:06:49.330Z","avatar_url":"https://github.com/davidesantangelo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmailHunter\n\nA lightweight Ruby wrapper around [Hunter.io](https://hunter.io/) (formerly Email Hunter) API, providing direct access to email search, verification, and company insights.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'emailhunter'\n```\n\nThen execute:\n\n```sh\n$ bundle install\n```\n\nOr install it yourself with:\n\n```sh\n$ gem install emailhunter\n```\n\n## Usage\n\n```ruby\nrequire 'emailhunter'\nemail_hunter = EmailHunter.new('Your API Key')\n```\n\nYour API key can be generated in your [Hunter dashboard](https://hunter.io).\n\n## Features\n\n### 1. Domain Search API\nRetrieve all email addresses associated with a given domain.\n\n```ruby\nresult = email_hunter.search('stripe.com')\n```\n\n#### Response Fields:\n```ruby\nresult.fetch(:meta)\nresult.fetch(:webmail)\nresult.fetch(:emails)\nresult.fetch(:pattern)\nresult.fetch(:domain)\n```\n\n### 2. Email Verification API\nCheck the deliverability of an email address.\n\n```ruby\nresult = email_hunter.verify('bonjour@firmapi.com')\n```\n\n#### Response Fields:\n```ruby\nresult.fetch(:result)\nresult.fetch(:score)\nresult.fetch(:regexp)\nresult.fetch(:gibberish)\nresult.fetch(:disposable)\nresult.fetch(:mx_records)\nresult.fetch(:smtp_server)\nresult.fetch(:smtp_check)\nresult.fetch(:accept_all)\nresult.fetch(:sources)\nresult.fetch(:meta)\n```\n\n### 3. Email Finder API\nGuess the most likely email of a person using their first name, last name, and domain.\n\n```ruby\nresult = email_hunter.finder('gmail.com', 'Davide', 'Santangelo')\n```\n\n#### Response Fields:\n```ruby\nresult.fetch(:email)\nresult.fetch(:score)\nresult.fetch(:sources)\nresult.fetch(:domain)\nresult.fetch(:meta)\n```\n\n### 4. Count API\nRetrieve the number of email addresses associated with a domain (FREE API call).\n\n```ruby\nresult = email_hunter.count('gmail.com')\n```\n\n#### Response Fields:\n```ruby\nresult.fetch(:data)\nresult.fetch(:meta)\n```\n\n### 5. Company Information API (New Feature)\nRetrieve company details using a domain name.\n\n```ruby\nresult = email_hunter.company('stripe.com')\n```\n\n#### Response Fields:\n```ruby\nresult.fetch(:name)\nresult.fetch(:industry)\nresult.fetch(:employees)\nresult.fetch(:country)\nresult.fetch(:meta)\n```\n\n### 6. People Search API (New Feature)\nRetrieve key individuals associated with a company based on a domain name.\n\n```ruby\nresult = email_hunter.people('stripe.com')\n```\n\n#### Response Fields:\n```ruby\nresult.fetch(:employees)\nresult.fetch(:position)\nresult.fetch(:email)\nresult.fetch(:meta)\n```\n\n### 7. Account Information API\nRetrieve details about your Hunter account.\n\n```ruby\nresult = email_hunter.account\n```\n\n#### Response Example:\n```json\n{\n   \"data\": {\n      \"first_name\": \"Davide\",\n      \"last_name\": \"Santangelo\",\n      \"email\": \"davide.santangelo@gmail.com\",\n      \"plan_name\": \"Free\",\n      \"plan_level\": 0,\n      \"reset_date\": \"2025-06-29\",\n      \"team_id\": 349,\n      \"calls\": {\n         \"used\": 4,\n         \"available\": 50\n      }\n   }\n}\n```\n\n## License\n\nThe EmailHunter gem is released under the [MIT License](https://opensource.org/licenses/MIT).\n\n## Contributing\n\n1. Fork it ( https://github.com/[your-github-username]/emailhunter/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add new feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidesantangelo%2Femailhunter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidesantangelo%2Femailhunter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidesantangelo%2Femailhunter/lists"}