The widgets provided by Google are a great way to get the functionality you’re looking for without writing any code, but sometimes there’s a need for a little more control and flexibility with layout, design, etc. Kris Hadlock explains the steps that are necessary to use the RESTful interface provided through the Google Ajax Search API in order to create a custom JavaScript Google Image widget.
The Google Ajax Search API is a powerful JavaScript library that provides some default widgets which are easily embedded into any web page. The widgets provided by Google are a great way to get the functionality you’re looking for without writing any code, but sometimes there’s a need for a little more control and flexibility with layout, design, etc. For this, Google provides a RESTful interface that supports the GET method with a JSON encoded result set as the response format.