updated full contact script
This commit is contained in:
parent
6613b13d4d
commit
352f777cc3
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ _tmp
|
|||||||
env
|
env
|
||||||
venv
|
venv
|
||||||
__pycache__
|
__pycache__
|
||||||
|
.env
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
@ -15,7 +16,7 @@ $ python 30_fullcontact.py twitter TWITTER_HANDLE
|
|||||||
|
|
||||||
# constants
|
# constants
|
||||||
|
|
||||||
API_KEY = 'GET YOUR OWN'
|
API_KEY = os.environ.get('FULLCONTACT_API_KEY')
|
||||||
BASE_URL = 'http://api.fullcontact.com/v2/person.json'
|
BASE_URL = 'http://api.fullcontact.com/v2/person.json'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user