Introducing the Google Command Line Tool - Google Open Source Blog: "GoogleCL is a command-line utility that provides access to various Google services. It streamlines tasks such as posting to a Blogger blog, adding events to Calendar, or editing documents on Google Docs.
For example:
$ google blogger post --blog 'My blog' --tags 'python, googlecl, development' my_post.html
$ google calendar add 'Lunch with Jason tomorrow at noon'
$ google docs edit --title 'Shopping list' --editor vim
GoogleCL is a pure Python application that uses the Python gdata libraries to make Google Data API calls from the command line."