Skip to content

Instantly share code, notes, and snippets.

Created December 19, 2015 04:14
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/70089eb70f6033ba19d9 to your computer and use it in GitHub Desktop.
Save anonymous/70089eb70f6033ba19d9 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=#####@#####.###&apiKey=############'
uri = URI(url)
response = Net::HTTP.get(uri)
parsed_json = JSON.parse(response); p parsed_json
print response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment