A wee Google CSE client. Use it to easily query your custom search engine. Supports image search, easy result pagination and allows access to all data, along with convenience methods for most.
- Create your own Google Custom Search Engine, and grab the CX identifier. You’ll need it to use this gem.
- Register an app with Google to allow access to the custom search API, and grab the API key from the ‘API Access’ tab. Bear in mind that the courtesy limit is very low for this service, at 100 queries per day. After that, it’s ‘$5 per 1000 queries, for up to 10,000 queries per day’.
- Try out the example code.
- View the source for more info, it’s quite self explanatory.