Skip to main content

zerobounce-python-api

ZeroBounce Python API. The response object allows an attribute-like style access.

from zerobounce import ZeroBounceAPI

zba = ZeroBounceAPI('yourapikey____________')
print zba.get_credits()
resp1 = zba.validate('flowerjill@aol.com')
resp2 = zba.validatewithip('flowerjill@aol.com')

print resp1
{
  "address": "flowerjill@aol.com",
  "status": "Valid",
  "sub_status": "",
  "account": "flowerjill",
  "domain": "aol.com",
  "disposable": False,
  "toxic": False,
  "firstname": "Jill",
  "lastname": "Stein",
  "gender": "female",
  "location": None,
  "creationdate": None,
  "processedat": "2017-04-01 02:48:02.592"
}

print resp2
{
  "address": "flowerjill@aol.com",
  "status": "Valid",
  "sub_status": "",
  "account": "flowerjill",
  "domain": "aol.com",
  "disposable": False,
  "toxic": False,
  "firstname": "Jill",
  "lastname": "Stein",
  "gender": "female",
  "location": None,
  "country": "United States",
  "region": "Florida",
  "city": "West Palm Beach",
  "zipcode": "33401",
  "creationdate": None,
  "processedat": "2017-04-01 02:48:02.592"
}

print resp.firstname
Jill

print resp2.status
Valid

Metadata

Release files for zerobounce 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zerobounce 0.1.4
File Size Uploaded Provenance Actions
zerobounce-0.1.4.tar.gz 2.4 kB Without provenance Details for zerobounce-0.1.4.tar.gz

Release files / zerobounce-0.1.4.tar.gz

Download URL zerobounce-0.1.4.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cd7e43e2974089247a20e1afe82cc68965d30035f719c7954bc18816392a2429
BLAKE2b-256 checksum
How to use checksums
f645c064368502a3bc44043584494624f9e8cce0c48039cb594d95a30ba5ba1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for zerobounce 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page