Skip to content

A simple Python interface for FullContact, using Requests.

License

Notifications You must be signed in to change notification settings

nitanmarcel/fullcontact-aio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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='[email protected]')
    
    # 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

About

A simple Python interface for FullContact, using Requests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%