Skip to main content

ZeroBounce Python API

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zerobounce-0.1.3.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file zerobounce-0.1.3.tar.gz.

File metadata

  • Download URL: zerobounce-0.1.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zerobounce-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f7c74321bf0df0de4adc1433d42101c7acdcecde0fea7efa1d42b16ef09044f9
MD5 1fb4f4e181f4f536651bbece67bcdf2f
BLAKE2b-256 20c5b640890eb7bf3096cc10a783f34ab92cb6ca9002feaecca3b4cd6a9f8976

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page