Google releases command line tool for accessing Web services

GoogleCL was developed in Python on top of the gdata-python-client library. It's an open-source software project that's hosted on Google Code and distributed under the Apache license. Users who want to contribute fixes and improvements can submit patches through the project's issue tracker.

Although modern desktop computing is increasingly dominated by graphical user interfaces, command line tools are still extremely useful for rapid interaction, simple programmatic automation, and remote system management. GoogleCL will make Google-hosted data more accessible to common command-line workflows. The GoogleCL tool offers an easy way to pipe your GMail contact list into sed and awk, or use a shell glob to specify which photos and movies to batch upload to Picasa and YouTube. It also supports Blogger, Google Calendar, and Google docs.

The tool can be downloaded from its project page on the Google Code Web site. Google is making available a tarball with the source code and an installable DEB package. I tested it from the DEB package on my Ubuntu 10.04 desktop computer. The first time that you access each individual service, it will prompt you for your username and then it will supply an OAuth link that you can copy and paste into a Web browser to complete the authentication process. After initial account configuration, the tool can be used in pipelines and other non-interactive command line workflows.

I tested several of the features, particularly the GMail contact list support. It worked well with a Google Apps account that I use with one of my own domains. The supported services and operations are documented in the project's user manual. An assortment of sample uses can be found on the project's wiki.

Some of the features in GoogleCL, such as Google Docs editing, require at least version 2.0 of the gdata-python-client library. Unfortunately, the Ubuntu repositories only have version 1.2.4. The tool will work with the older version of the library, but will display an error message when the user tries to use a feature that isn't supported.

For more information about the tool, you can refer to the release announcement that was published this morning in Google's open source blog.

Source: ars technica

Tags: Google, Internet

Add comment

Your name:
Sign in with:
Your comment:

Enter code:

E-mail (not required)
E-mail will not be disclosed to the third party

Last news

A mobile hotspot in Australia will be capable of hitting gigabit speeds on the go
A new game could be in the works as Blizzard appears to have been hiring for a Diablo-related project
Nokia CEO Rajeev Suri will speak at MWC 2017
However what if you could go way, way back?
The Helio P15 packs an octa-core Cortex-A53 processor clocked at 2.2GHz
Samsung claims up to 27-percent higher performance or 40-percent lower power
Preliminary data for October shows another Windows 10 boom
Samsung Galaxy TabPro S - a tablet with the Windows-keyboard
The first Windows-tablet with the 12-inch display Super AMOLED
June 7, 2016 /
Keyboards for iOS
Ten iOS keyboards review
July 18, 2015 /
Samsung E1200 Mobile Phone Review
A cheap phone with a good screen
March 8, 2015 / 4
Creative Sound Blaster Z sound card review
Good sound for those who are not satisfied with the onboard solution
September 25, 2014 / 2
Samsung Galaxy Gear: Smartwatch at High Price
The first smartwatch from Samsung - almost a smartphone with a small body
December 19, 2013 /
HP Slate 7 is a 7-inch Android 4 Tablet PC with good sound
A cost-effective, 7-inch tablet PC from a renowned manufacturer
October 25, 2013 / 4

News Archive



Do you use microSD card with your phone?
or leave your own version in comments