Googlecl is a google utility to access Google Data API from command line. Googlecl is written in Python programming language. Googlecl allow you to update your blogger blog, Picassa, Calender, Contact, Google Doc, and Youtube videos. This tool connect to Google service using Google Data API. Since it is written with Python, it’w work on cross platform such as Linux, FreeBSD, Windows and Mac OSX.
To install GoogleCL, you need to install it’s dependency:
To install it on Ubuntu/Debian:
- Download googlecl deb file.
- Install it with this command:
sudo dpkg -i googlecl*.deb
To install it on Windows:
- Download the googlecl for win32.
- Extract it and install.
To install it on MAC OSX:
- Install it from port command:
sudo port install googlecl
For others you can grab the source file, compile and install it:
tar xf googlecl-x.x.x.tar.gz python setup.py install --record=files.txt
Here is the basic example command:
$ google blogger post –title “foo” “command line posting”
$ google calendar add “Lunch with Jim at noon tomorrow”
$ google contacts list Bob name,email > the_bobs.csv
$ google docs edit “Shopping list”
$ google picasa create “Cat Photos” ~/photos/cats/*.jpg
$ google youtube post –category Education killer_robots.avi
With this very useful tools, there is a lot you can do. Like make a software or web application to manage your data in one place, or make an automation tools for it. Just grow your idea and expand your skill. I am myself haven’t explore it in deep. But i will. So stay tunes and i will make another article about googlecl.
More details: googlecl homepage.
More example scripts: googlecl example.
but how is knowing the user you have to google?.. in the command line should be a user and a password… or is a config file?