Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2015 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c74d3846b023ae1f81d3 to your computer and use it in GitHub Desktop.
Save anonymous/c74d3846b023ae1f81d3 to your computer and use it in GitHub Desktop.
query fullcontact api
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