Ruboty::GoogleImage

An ruboty handler to search images from Google.

Install

This gem needs two environment variables.

  • GOOGLE_CSE_ID
  • GOOGLE_CSE_KEY

CSE setup

  1. Create a CSE via these instructions.
  2. Turn on images in Edit Search Engine > Setup > Basic > Image Search
  3. Get the CSE ID in Edit Search Engine > Setup > Basic > Details (via these instructions)
  4. Get the CSE KEY here
  5. Update your env

Usage

@ruboty image <keyword> - Search image from Google