require 'google_search_results' params = { q: "how long is the flight from seattle to new york", location_requested: "Austin, Texas, United States", hl: "en", gl: "us", api_key: "secret_api_key" } search = GoogleSearch.new(params) answer_box = search.get_hash[:answer_box] ...