No project description provided
Project description
Million Verifier Python Client
Python client for Million Verifier. API documentation can be found here.
Setup
It is advised that million-verifier-client
is installed within a virtual environment
(e.g., Poetry, venv, etc.).
Once in an activated virtual environment, million-verifier-client
can be installed with the following commands:
Pip:
pip install million-verifier-client
Poetry:
poetry add million-verifier-client
Example Usage
import os
from million_verifier import MillionVerifierClient
client = MillionVerifierClient(
api_key=os.getenv("MILLION_VERIFIER_API_KEY"),
)
client.list_files()
Output:
{
"files": [
{
"file_id": 25645547490,
"file_name": "test-emails-1.txt",
"status": "finished",
"unique_emails": 0,
"updated_at": "2023-11-25 12:12:21",
"createdate": "2023-11-25 12:12:16",
"percent": 100,
"total_rows": 10,
"verified": 9,
"unverified": 1,
"ok": 8,
"catch_all": 0,
"disposable": 0,
"invalid": 1,
"unknown": 0,
"reverify": 0,
"credit": 10,
"estimated_time_sec": 0,
"error": ""
}
],
"total": 1
}
Development
Testing
Tests can be run using Pytest:
pytest
Or, using Pytest within a Poetry environment:
poetry run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for million_verifier_client-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 955046a9b7f4a24bf7b13cb0920795986a2fa059aad7fb919f361440c0ea56ad |
|
MD5 | 390219f46102aec089c2b1f7d57ef21d |
|
BLAKE2b-256 | 195e95797febd04ceb2cd376faa96562a40adb600a77fc8a0e8931890d52be1b |
Close
Hashes for million_verifier_client-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2dbd08fcb7e7b8152a0460ba90f8ad7a5a7038534473d24c7dc46d1d53a55c3 |
|
MD5 | c08f766faa8db7d92f6cba96644f60ff |
|
BLAKE2b-256 | 8019ae0545ee0eea8dbbfce68969725dc8ed6ffa21bff949acd52596fa33cb55 |