Skip to main content

Tomba.io is an Email Finder for B2B sales and email marketing

Project description

Tomba Tomba Email Finder Python Client Library

This is the official Python client library for the Tomba.io Email Finder API, allowing you to:

  • Domain Search (Search emails are based on the website You give one domain name and it returns all the email addresses found on the internet.)
  • Email Finder (This API endpoint generates or retrieves the most likely email address from a domain name, a first name and a last name..)
  • Author Finder (Instantly discover the email addresses of article authors.)
  • Linkedin Finder (The Linkedin lets you find the current job title, company, location and social profiles of the person behind the linkedin URL.)
  • Email Verifier (checks the deliverability of a given email address, verifies if it has been found in our database, and returns their sources.)
  • Email Enrichment. (Locate and include data in your emails.)

Getting Started

You'll need an Tomba API access token, which you can get by signing up for a free account at https://app.tomba.io/auth/register

The free plan is limited to 25 search request and 50 verification a month, To enable all the data fields and additional request volumes see https://tomba.io/pricing.

Requirements

  • Python 3.5+
  • requests library

Installation

To install via PyPI:

pip install tomba-io

Quick Start

from tomba.client import Client

client = Client()
client.set_key('YOUR_KEY').set_secret('YOUR_SECRET')

Usage

Domain Search

from tomba.services.domain import Domain

domain = Domain(client)
result = domain.domain_search('stripe.com')
print(result)

Email Finder

from tomba.services.finder import Finder

finder = Finder(client)
result = finder.email_finder('tomba.io', 'Mohamed', 'Ben rebia')
print(result)

Email Verifier

from tomba.services.verifier import Verifier

verifier = Verifier(client)
result = verifier.email_verifier('b.mohamed@tomba.io')
print(result)

Examples

Sample codes under examples/ folder.

Error Handling

All errors raise TombaException:

from tomba.exception import TombaException

try:
    result = domain.domain_search('stripe.com')
except TombaException as e:
    print(f"Error: {e.message} (code: {e.code})")

Documentation

See the official documentation.

Other Libraries

There are official Tomba Email Finder client libraries available for many languages including PHP, Python, Go, Java, Ruby, and many popular frameworks such as Django, Rails and Laravel. There are also many third party libraries and integrations available for our API.

https://docs.tomba.io/libraries

About Tomba

Founded in 2021, Tomba prides itself on being the most reliable, accurate, and in-depth source of Email address data available anywhere. We process terabytes of data to produce our Email finder API, company.

image

Contribution

  1. Fork it (https://github.com/tomba-io/python/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

Please see the Apache 2.0 license file for more information.

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

tomba-io-1.0.5.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tomba_io-1.0.5-py2.py3-none-any.whl (17.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file tomba-io-1.0.5.tar.gz.

File metadata

  • Download URL: tomba-io-1.0.5.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for tomba-io-1.0.5.tar.gz
Algorithm Hash digest
SHA256 bc8e5a8e965926afa4de515cc90b12ab06b0467a46472f6f08dc899564e8239a
MD5 16434909ddd47807a1d1b222af1d5eca
BLAKE2b-256 712eb163214c81aecc71d6d9fb471093de0e85f62ee2120754164c19e8fbcaf5

See more details on using hashes here.

File details

Details for the file tomba_io-1.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: tomba_io-1.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for tomba_io-1.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bbd1443e7d6e6285e8e1094d89d0b0d095e7835bc390e454d8682cdf4b32f452
MD5 b4d60a195a63bbe9195f9e91301381e9
BLAKE2b-256 fc6affdfc726ce793de0b4660d6773fd7cf7cfe9bcb19b2e3b3a56c28231c823

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