Skip to content
This repository has been archived by the owner on Jul 26, 2018. It is now read-only.

aynul/emailhunter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emailhunter

A tiny ruby wrapper around Email Hunter API. Direct access to all the web's email addresses.

Installation

Add this line to your application's Gemfile:

gem 'emailhunter'

And then execute:

$ bundle

Or install it yourself as:

$ gem install emailhunter

Usage

require 'emailhunter'
email_hunter = EmailHunter.new('Your secret API key')

Your secret API key. You can generate it in your dashboard from https://emailhunter.co

Domain search API

Returns all the email addresses found using one given domain name, with our sources.

result = email_hunter.search('stripe.com')

Accessing domain search response

result.status
result.results
result.webmail
result.emails
result.offset

Email Verify API

Allows you to verify the deliverability of an email address.

email_hunter.verify('bonjour@firmapi.com')

Accessing email verify response

result.status
result.email
result.score
result.regexp
result.gibberish
result.disposable
result.webmail
result.mx_records
result.smtp_server
result.smtp_check
result.accept_all
result.sources

Generate API

Guesses the most likely email of a person from his first name, his last name and a domain name.

email_hunter.generate('gmail.com', 'Davide', 'Santangelo')

Accessing generate response

result.status
result.email
result.score

License

The emailhunter GEM is released under the MIT License.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/emailhunter/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

A tiny Ruby wrapper around Email Hunter API (https://emailhunter.co/)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 98.4%
  • Shell 1.6%