Created
December 18, 2015 16:49
-
-
Save anonymous/c74d3846b023ae1f81d3 to your computer and use it in GitHub Desktop.
query fullcontact api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'json' | |
url = 'https://api.fullcontact.com/v2/person.json?email=XXXX@XXXXX.XXX&apiKey=XXXXXXXXXXXX' | |
uri = URI(url) | |
response = Net::HTTP.get(uri) | |
JSON.parse(response) | |
print response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment