Skip to content

Instantly share code, notes, and snippets.

@mrbrutti
Created August 14, 2009 00:08
Show Gist options
  • Save mrbrutti/167535 to your computer and use it in GitHub Desktop.
Save mrbrutti/167535 to your computer and use it in GitHub Desktop.
require 'esearchy'
ESearchy::LOG.level = ESearchy::APP
ESearchy.create "domain.com" do |d|
d.yahoo_key = "dsdsdsdsdsdsdsd"
d.bing_key = "dsdsdsdsdsdsdsdsd"
d.company_name = "Domain Corp"
d.linkedin_credentials = "myuser@linkedin.com", "12345" # or use the constant ESearch::BUGMENOT
d.maxhits = 500
d.search
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment