/hunter.cr

A Crystal-Lang wrapper for Hunter.io API

Primary LanguageCrystalMIT LicenseMIT

hunter.cr

Build Status Docs License

A Crystal-Lang wrapper for Hunter.io API V2

Installation

  1. Add this to your application's shard.yml:
dependencies:
  hunter:
    github: arubinofaux/hunter.cr
  1. Run shards install

Usage

Setup Work

require "hunter"

client = Hunter.new(api_key)

Domain Search

client.domain.search(domain: "intercom.io", type: "personal")

Email Finder

client.email.finder(domain: "asana.com", first_name: "Dustin", last_name: "Moskovitz")

Email Verifier

client.email.verifier(email: "steli@close.io")

Email Count

client.email.count(domain: "intercom.io")

Account Information

client.account

Service Status

client.status

Todo

  • - Domain Search
  • - Email Finder
  • - Email Verifier
  • - Email Count
  • - Account Information
  • - Service Status
  • - Leads
    • - List all
    • - Retrieve
    • - Create
    • - Update
    • - Delete
  • - Leads Lists
    • - List all
    • - Retrieve
    • - Create
    • - Update
    • - Delete

Development

For development you will need API Credentials from Hunter.io

If you found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!

Contributing

  1. Fork it (https://github.com/arubinofaux/hunter.cr/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

Contributors