Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
bulk-email-verifier
Readme
.. image:: https://img.shields.io/badge/License-MIT-green.svg :alt: python-bulk-email-verifier license :target: https://opensource.org/licenses/MIT
.. image:: https://img.shields.io/pypi/v/bulk-email-verifier.svg :alt: python-bulk-email-verifier release :target: https://pypi.org/project/bulk-email-verifier
.. image:: https://github.com/whois-api-llc/python-bulk-email-verifier/workflows/Build/badge.svg :alt: python-bulk-email-verifier build :target: https://github.com/whois-api-llc/python-bulk-email-verifier/actions
The client library for
Bulk Email Verification API <https://emailverification.whoisxmlapi.com/bulk-api>
_
in Python language.
The minimum Python version is 3.6.
.. code-block:: shell
pip install bulk-email-verifier
Full API documentation available here <https://emailverification.whoisxmlapi.com/bulk-api/documentation/making-requests>
_
.. code-block:: python
from bulkemailverifier import *
client = Client('Your API key')
.. code-block:: python
emails = [
'example@example.com',
'test@example.org',
'test'
]
request_id = client.create_request(emails=emails)
.. code-block:: python
result = client.get_status(request_ids=[request_id])
# Finished once result.data[i].ready == True
print(result)
.. code-block:: python
completed = client.get_records(request_id=request_id)
# Invalid and failed emails
failed = client.get_records(request_id=request_id, return_failed=True)
.. code-block:: python
result = client.get_requests()
.. code-block:: python
client.download(filename='emails.csv', request_id=request_id)
.. code-block:: python
# Paginate over request IDs in descending order and get results in XML
result = client.get_requests_raw(
only_ids=True,
page=2,
per_page=20,
sort=Client.SORT_DESC,
output_format=Client.XML_FORMAT
)
.. code-block:: python
ResponseRecords:
- data: [Record]
- email_address: str
- format_check: bool
- smtp_check: bool
- dns_check: bool
- free_check: bool
- disposable_check: bool
- catch_all_check: bool
- result: str
- error: str
- mx_records: [str]
ResponseRequests:
- current_page: int
- from_requests: int
- last_page: int
- per_page: int
- to_requests: int
- total: int
- data: [BulkRequest]
- id: int
- date_start: datetime.datetime
- total_emails: int
- invalid_emails: int
- processed_emails: int
- failed_emails: int
- ready: bool
ResponseStatus:
- data: [BulkRequest]
FAQs
Python client library for Bulk Email Verification API.
We found that bulk-email-verifier demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.