Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.12 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.12 KB

FullContact.py

PyPI version Build Status

A Python interface for the FullContact API.

Installation

pip install FullContact-AIO

Usage

import asyncio

from fullcontact_aio import FullContact


async def get_person_by_email():
    fc = FullContact('xgtbJvVos2xcFMX1JvXaQvx0ZaExhSCT')

    #returns a python dictionary
    r = await fc.person(email='you@email.com')
    
    # The number of requests left in the 60-second window.
    rate_limit_remaining = r['X-Rate-Limit-Remaining']
    
    
    print(r) # {u'socialProfiles': [...], u'demographics': {...}, ... } 

    print(rate_limit_remaining) 

asyncio.get_event_loop().run_until_complete(get_person_by_email())

Supported Python Versions

  • 3.6
  • 3.7
  • 3.8
  • 3.9

Official Documentation

https://dashboard.fullcontact.com/api-ref