Skip to content

Instantly share code, notes, and snippets.

@edoshor
Created November 20, 2014 17:48
Show Gist options
  • Save edoshor/527ea3fd9cf23b547599 to your computer and use it in GitHub Desktop.
Save edoshor/527ea3fd9cf23b547599 to your computer and use it in GitHub Desktop.
Pipl.com Ruby Api
require_relative 'lib/piplapis/search'
request = PiplApi::SearchAPIRequest.new({api_key: 'samplekey', email: 'test@example.com'})
begin
response = request.send
# All good!
rescue PiplApi::SearchAPIError => e
puts e
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment