Googlecl, a command line tool to access various Google Services
Recently, google a command line tool to access various Google services - Picasa, Youtube, blogger, calendar and docs. Its called . This tool lets you do a variety of things, like posting a blog on Blogger, uploading a video on Youtube, adding new events on calendar, editing a doc, upload any number of images on picasa(My Favourite), all from a single command!
It makes use of Python gdata libraries to call Google Data APIs from command line. Since, its python we are talking about, its a cross platform tool. There are available for Debian or Ubuntu based systems.
Here are a few example scripts:
[shredder12]$ google picasa create --title "My album" ~/Photos/vacation/*.jpg
[shredder12]$ google blogger post --blog "My blog" --tags "python, googlecl, development" my_post.html
[shredder12]$ google calendar add "Lunch with Jason tomorrow at noon"
[shredder12]$ google docs edit --title "Shopping list" --editor vim
This tool makes life a hell lot easier for various similar tasks. Ever tried to upload a full collection of vacation photos on Picasa, it sucks
, but with googlecl it can be done in a single command. Developers are also planning to support buzz, gmail, search and other apps but due to certain limitations in Python gdata libraries it will take some time to happen.
You can find more scripts and if you are looking for some advanced use, you might want to go through the .
1 Comment
Post new comment