Skip to content

GreatWorldDev/python-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hunter.io SDK

This is a simple Python SDK that demonstrates how to:

  1. Make requests to Hunter.io API.
  2. Store API call results in an in-memory data storage (dictionary).
  3. Perform CRUD operations on the stored data.

It uses the following endpoints:

  • Domain Search (/domain-search)
  • Email Verification (/email-verifier)

Requirements

  • Python 3.8+
  • Valid Hunter.io API key set as an environment variable: HUNTER_API_KEY=<YOUR_API_KEY>

Installation

  1. Clone the repository.
  2. Install the required dependencies:
    pip install -r requirements.txt
  3. Run the code example:
    python main.py

Linting and Type Checking

  • This project is configured to use wemake-python-styleguide and mypy for static type analysis.
  • To run mypy:
    mypy .
  • To run flake8 with wemake style guide:
    flake8 .

Usage

Check the main.py file to see how we:

  1. Initialize the service.
  2. Perform domain searches.
  3. Verify emails.
  4. Save results to in-memory storage.
  5. Perform CRUD operations.

About

Python + mypy + flake8 + CRUD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages