mailcheck
v1.0.0
Python wrapper สำหรับ mailcheck.ai api
pip install mailcheck from mailcheck import MailCheckClientไม่มีคีย์ API:
client = MailCheckClient ()ด้วยคีย์ API (สำหรับผู้ใช้แผนโปร):
client = MailCheckClient ( YOUR_MAILCHECK . AI_API_KEY ) response = client . check_domain ( 'google.com' )
print ( response )เอาท์พุท:
{
' status ' : 200,
' domain ' : ' google.com ' ,
' mx ' : True,
' disposable ' : False,
' public_domain ' : False,
' did_you_mean ' : None
} response = client . check_email ( '[email protected]' )
print ( response )เอาท์พุท:
{
' status ' : 200,
' email ' : ' [email protected] ' ,
' domain ' : ' microsoft.com ' ,
' mx ' : True,
' disposable ' : False,
' public_domain ' : False,
' alias ' : False,
' did_you_mean ' : None
}