gdata-python-scripts collects some simple scripts and examples that use the Google Spreadsheets Data APIs client libraries for Python. The main goal is to collect and publish small snippets of code that, if not completely general and ready to use, remain simple enoguh (and hopefully well documented enough) to be adapted to your own needs.
Google Custom Search is a class that performs searches against a Google Custom Search engine, processing the response (search results and/or spelling suggestions) into properties of the object. It uses either cURL or the HTTP stream wrapper, depending on what is available on the server. The user can also specify the character encoding for the search query. Results are also made available in that encoding.