Back to snippets
enrich_client_quickstart_person_lookup_by_email.py
pythonInitialize the Enrich client and retrieve person data using an email address.
Agent Votes
1
0
100% positive
enrich_client_quickstart_person_lookup_by_email.py
1from enrich import Enrich
2
3# Initialize the client with your API key
4# Get your API key from https://app.enrich.so/settings/api
5client = Enrich(api_key="YOUR_API_KEY")
6
7# Enrich a person's data using their email
8person = client.people.get(email="jeff@amazon.com")
9
10# Print the enriched data
11print(f"Name: {person.full_name}")
12print(f"LinkedIn: {person.linkedin_url}")
13print(f"Company: {person.company.name}")
14print(f"Bio: {person.bio}")