GoogleCL brings Google services to the command line.

We currently support the following Google services:
Blogger
$ google blogger post –title “foo” “command line posting”
Calendar
$ google calendar add “Lunch with Jim at noon tomorrow”
Contacts
$ google contacts list name,email > contacts.csv
Docs
$ google docs edit –title “Shopping list”
Picasa
$ google picasa create –title “Cat Photos” ~/photos/cats/*.jpg
Youtube
$ google youtube post –category Education killer_robots.avi

read more on project page: