Created
November 20, 2014 17:48
-
-
Save edoshor/527ea3fd9cf23b547599 to your computer and use it in GitHub Desktop.
Pipl.com Ruby 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_relative 'lib/piplapis/search' | |
request = PiplApi::SearchAPIRequest.new({api_key: 'samplekey', email: '[email protected]'}) | |
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