forked from SharadKumar97/OSINT-SPY
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemail.py
More file actions
54 lines (46 loc) · 1.69 KB
/
Copy pathemail.py
File metadata and controls
54 lines (46 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from fullcontact import FullContact
from config import *
import json
fc=FullContact(fullcontact_api_key)
def fetchData(email_id):
person = fc.person(email=email_id)
data = person.json()
try:
print "Personal Information :: "
print "Full Name :: "+ data['contactInfo']['fullName']
print "Given Name :: "+ data['contactInfo']['givenName']
print "Gender :: "+ str(data['demographics']['gender'])
print "Website :: "+ str(data['contactInfo']['websites'])
print "Full Address :: "+ str(data['demographics']['locationDeduced']['normalizedLocation'])
print "City :: "+ str(data['demographics']['locationDeduced']['city']['name'])
print "State :: "+ str(data['demographics']['locationDeduced']['state']['name'])
print "Country :: "+ str(data['demographics']['locationDeduced']['country']['name'])
print "\n"
except:
print "Unavailable"
try:
print "Employment Detail :: "
for org in data['organizations']:
print "Organization::"+org['name']+" "+"Start date::"+" "+org['startDate']+" "+"Job Title::"+" "+org['title']
except:
print " "
print "\n"
try:
for soc in data['socialProfiles']:
print "Social Profiles :: "+ " "+soc['url']
except:
print " "
print "\n"
print "Tags and Skills :: "
try:
for social in data['digitalFootprint']['topics']:
print social['value']
except:
print " "
print "\n"
print "Photos and Pics :: "
try:
for pic in data['photos']:
print "Url :: "+" "+ pic['url']
except:
print " "