Python wrapper for the MailCheck.ai API
Project description
mailcheck
Python wrapper for the MailCheck.ai API
Installation
pip install mailcheck
Usage
Import package
from mailcheck import MailCheckClient
Instantiate client
Without API key:
client = MailCheckClient()
With API key (for Pro plan users):
client = MailCheckClient(YOUR_MAILCHECK.AI_API_KEY)
Check domain name
response = client.check_domain('google.com')
print(response)
Output:
{
'status': 200,
'domain': 'google.com',
'mx': True,
'disposable': False,
'public_domain': False,
'did_you_mean': None
}
Check email address
response = client.check_email('bill@microsoft.com')
print(response)
Output:
{
'status': 200,
'email': 'bill@microsoft.com',
'domain': 'microsoft.com',
'mx': True,
'disposable': False,
'public_domain': False,
'alias': False,
'did_you_mean': None
}
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
mailcheck-1.0.0.tar.gz
(1.6 kB
view details)
Built Distribution
File details
Details for the file mailcheck-1.0.0.tar.gz
.
File metadata
- Download URL: mailcheck-1.0.0.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e0b317a132cb69959a312324d9f27cc492d999a6cac5b641b972da8a3f0a68c |
|
MD5 | ad6b63111c6756939cc3484ea18c9c09 |
|
BLAKE2b-256 | 3e34d11e2a0b3d14cec0e02d111b062f04f7a37396f81afe9ed98256b7532bb0 |
File details
Details for the file mailcheck-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: mailcheck-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cbeaa7a5e5ad345df8c74e704357ef7415e17144244a43004d49b4d5b22d484 |
|
MD5 | a239ac7bdbba2518717b7cc98781d421 |
|
BLAKE2b-256 | ea13f002a6b95198c3bab3a3118b5e3e416f2a76179eb200b6a1086aeb9b36fd |