Google Command Line Uses Python to Make Data API Calls

Jun 21, 2010

Access Google services all from a command line.

Google released GoogleCL late last week, an open source program for Linux, Mac, and Windows that allows a user to issue commands to popular Google services APIs in the Python code language. The program makes us of the Python gdata libraries, which need to be downloaded along with GoogleCL in order for the program to function properly.



Google offers up several example scripts at the GoogleCL wiki. With GoogleCL it's possible to upload and delete Blogger blogs, create and edit calendar events, create new albums and rename photos in Picasa and edit and list videos in YouTube and in the hands of intrepid Python users, much, much more. GoogleCL currently works on gdata APIs, which rules out Gmail, Buzz, and Search.



Google has both a tarball and .deb package for download, with plans for Debian and Ubuntu repositories for the next release.

Related content

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More