Skip to content

sheilak/clearbit-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clearbit

A Python API client to https://clearbit.com.

Installation

To install the Clearbit Python bindings, run:

pip install clearbit

Or

easy_install clearbit

Usage

First authorize requests by setting the API key found on your account's settings page.

import clearbit
clearbit.key = 'mykey'

You can also set the API key via the CLEARBIT_KEY environment variable.

Then you can lookup people by email address:

person = clearbit.Person.find(email='[email protected]',stream=True)

If the person can't be found, then None will be returned.

See the documentation for more information.

Company lookup

You can lookup company data by domain name:

company = clearbit.Company.find(domain='uber.com',stream=True)

If the company can't be found, then None will be returned.

See the documentation for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%