GoogleCL allows programmatic access to various Google services. It is also a convenient lightweight alternative to MacPorts.
The application wraps a subset of APIs into a command-line tool that makes it easy to do things like posting to a Blogger blog, uploading files to Picasa, or editing a Google Docs file.