updated full contact script

This commit is contained in:
Michael Herman 2016-03-23 09:33:03 -06:00
parent 6613b13d4d
commit 352f777cc3
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ _tmp
env env
venv venv
__pycache__ __pycache__
.env

View File

@ -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'