Want to appearance your aberrant ancillary and adapt your Google Docs or address a Blogger column from command prompt? Here’s how you can admission a array of Google casework from command band with the GoogleCL.
Getting Started
GoogleCL is a Python command band appliance that lets you admission assorted Google casework from command band on Windows, Mac OS X, or Linux. Here we’ll be application the Windows adaptation on Windows 7, but it would assignment the exact aforementioned on added platforms.
Head over to the download articulation below, and baddest the actual adaptation for your OS. If you appetite to run it on Windows, baddest the zip file. Ubuntu users can download and install the .deb file.
sshot-2010-07-27-[08-22-30]
After downloading the zip book for Windows, abstract it as accustomed and again run the google.exe affairs in the folder.
The aboriginal time you run Google CL, it will actualize a preferences binder at:
%USERPROFILE%\.googlecl
On one of our tests, we accustomed an absurdity adage that MSVCR71.dll was missing from our computer, so GoogleCL couldn’t run. This is a C++ runtime library in Windows, and best programs that charge it accommodate it with their affairs files. GoogleCL does not accommodate this DLL in the zip file, so we’ll charge to acquisition a archetype for it.You’ll acceptable accept abounding copies of this book throughout your computer, but GoogleCL cannot acquisition them. So, do a computer-wide chase for msvcr71.dll, and archetype one of these files it finds.
Now adhesive that dll book in the GoogleCL folder, and run google.exe as before. Everything should assignment altogether this time.
UsingGoogleCL
GoogleCL’s syntax is actual accessible to use and understand. To get started, you ability appetite to checkout the readme.txt book included. Or, aloof blazon advice at the alert to get some quick instructions.
You can use GoogleCL to admission casework on Picasa, Blogger, YouTube, Docs, Contacts, and Calendar via the command band interface, and we’d adulation to see approaching versions will accommodate abutment for added items including Gmail and Search. For now, though, these casework are still useful. Enter advice followed by a account name to see added advice about it and some acceptance examples. Here we see the advice for Calendar.
Activating a Service
When you aboriginal use a service, you’ll accept to actuate your computer with it online. For instance, if we capital to see all the accessories in our Calendar, we’d admission Calendar list. You’ll be asked to specify a user; admission your Gmail email address. Then, you’ll be prompted to accept the admission in your browser, and the approval folio will automatically accessible in your absence browser.
Click Grant access in the webpage that opens, and then press Enter in the GoogleCL window.You’ll accept to do this for anniversary of the Google casework you use. Even carefully accompanying casework like Contacts and Calendar accept to be activated individually. One absorbing aspect of this is that you could accept altered Google annual associated with altered services. Already they’re activated, though, it’ll be accessible to use these casework on this computer.
Using GoogleCL
GoogleCL has bags of functions you can use to collaborate with Google’s services. We’ll attending at a few of the functions we begin interesting.
Docs
First, we approved uploading a certificate to Docs. To do this, enter:
docs upload path_to_your_document
This may booty a minute depending on the admeasurement of your document, but already it’s done, you’ll see a success bulletin and a articulation to your document.
You’re declared to be able to adapt abstracts by entering:
docs adapt –title “your_document” –editor your_editor
However, this didn’t assignment in our tests, and we accustomed an absurdity message. This should assignment in the future, and could accept been acquired by a botheration on our end, but it would not assignment in any of our tests.
YouTubeGoogleCL worked great for uploading videos to YouTube. Once you’ve authorized your account, enter:
youtube post “your_file_path”Enter a category name when requested, and GoogleCL will start uploading your video to YouTube. As usual, this will take a few minutes depending on the size of your video, but it’s still quicker than going to the YouTube page to post a video.
Note that you may see an absurdity if you access a
class that is not accessible on YouTube. If so, try again, this time entering a actual category.
For your reference, here’s some of the categories you can use from YouTube.com…so make sure you use one of them.
Blogger
GoogleCL makes Blogger into a geekier blogging service. You can review, tag and alike actualize fresh posts on Blogger, all anon from command line. You can address the anatomy of your column in a argument file, and you can alike use HTML markup to accomplish the column attending like you want. To do this, access the afterward in GoogleCL:
blogger column –title “your_title” path_to_post_file
Moments later, we had a fresh blog column with the agreeable from our argument file. We could accept acquaint a long, able-bodied formatted HTML post, but hey, what’s more good than the archetypal beatnik greeting for a aberrant blog post?Conclusion
Whether you’d like to bound adapt Gmail acquaintance info, upload a YouTube video after application the cool Flash uploader, or accomplish a calligraphy that automatically makes a column on Blogger back you blast your arch on the keyboard, GoogleCL gives you the accoutrement you charge to do added with Google than you admitting possible. Who said Google doesn’t accept a billow OS? Back you can collaborate with a webapp via command prompt, aback it feels like Google is aloof addition allotment of your computer. We’ve alone aching the apparent of what you can do with GoogleCL; analysis out the examples articulation beneath for added ideas. Let us apperceive what aberrant projects you do with GoogleCL!
Link
Download GoogleCL
Check out Example GoogleCL Scripts
0
comments