Google announced a new command line tool for some of its services on its Open Source Blog on Friday. 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.
GoogleCL is a pure Python application that uses the Python gdata libraries to make Google Data API calls from the command line. An example use of a Google service this way looks like this...
You can download the Linux package or zipped tar archive here at:
http://code.google.com/p/googlecl/
$ google blogger post --blog "My blog" --tags "python, googlecl, development" my_post.htmlYou can get more examples of GoogleCL in action right here, if that's your kind of thing.
$ google calendar add "Lunch with Jason tomorrow at noon"
$ google docs edit --title "Shopping list" --editor vim
You can download the Linux package or zipped tar archive here at:
http://code.google.com/p/googlecl/