Frank Researcher
Ruby Client for Google Custom Search
Installation
gem install frank_researcher
Configuration
FrankResearcher.configure do |config|
config.google_api_key = ENV['frank_google_api']
config.google_cx = ENV['frank_google_cx']
end
Usage
require 'frank_researcher'
response = FrankResearcher.search('Ruby on rails')
response[:items].each do |item|
puts item[:title]
puts item[:link]
end
The search is executed on the websites you have specified in the Custom Search settings