Yea, I saw that too and thought it was a bit short-sighted to base it on that library. The calendar command is nice if you're integrating with something that doesn't play nicely with .ics, but other than that this is pretty ho-hum at the moment.
Goosh is neat, but isn't it actually browser-oriented (i.e. doesn't actually work in your command line)? Also, they cover completely different services (AFAIK). For example, Goosh does search and gmail. GoogleCL does picasa, blogger, post youtube videos, docs, contacts, and calendar.
Quite cool but there isn't there just one rather obvious google service that is missing. Nudge nudge, wink wink? Wouldn't it be handy to run an internet wide grep with all the various search arguments and a nice filterable output?
Makes me wonder how many other web services could offer useful amounts of their (usually unintuitive (for non-web programmers)) API's functionality with a simple, unixy, command-line tool. This is going to save fans of scripting languages a whole lot of doc-crawling.
I really love how the sub-command names work with the script name to mirror the full names of the Google products. Google's "Google Foo" naming scheme was mandated from the top and was a good call for sooo many reasons (legal, marketing, etc.) which now includes "makes for an awesome command line tool".
One big cost of poor architecture and design is that you miss out on a lot of serendipity. When every new use case comes at the cost of a long, hard slog uphill over a mountain of design and implementation defects you choose your destinations carefully, so you miss out on a lot of potential wins (both big and small) just because you don't have the data to justify the changes.
outch, I think I'll soon be ready to say bye bye to my own little todo application in command line. However, there are still some details that I will miss by switching to google calendar :(
$ google docs edit --title "Shopping list" --editor vim
You had me at hello. Too pretty.
Also, and slightly off-topic: I cannot say how much I love Homebrew + Github. I was halfway into writing a new formula for this, when I decided to check. Sure enough, there's already a formula to install. Actually, I think two people already submitted formulas. In any case, if you use Homebrew, you can install it now.
A quick update here: the googlecl package has been removed from Homebrew. The recommendation is now to install it via pip (which is available from Homebrew). Just in case someone sees this and wonders.
I just thought of another use for this. I've been using takspaper.vim and git to manage a todo list with TaskPaper-like syntax, but without the overhead of an application devoted just to a todo list. (I feel about programs the way Alton Brown does about cooking tools: use as few unitaskers as possible.)
This will make that a lot, lot easier and more automatic.
It was kinda used by OpenCL, to actually "reserve" something takes a lot more work. And even then I would suppose that the abbrev CL was reserved by Common Lisp during the last 25 years.
To add to that list: Changelist. Chile TLD. Microsoft's C compiler (which is roughly as old as Common Lisp). IBM's Control Language. And probably a whole bunch of other things.
And this isn't a CLI, of course. In this case, that would be the shell itself.
The Google Command Line Tool is interesting but it's missing the search (is that intentional from Google? I don't know). I made a quick and dirty one liner replace foo by your search query:
curl -s "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&start=0&rsz=large&q=foo" | sed -e 's/[{}]/''/g' | awk '{n=split($0,s,","); for (i=1; i<=n; i++) print s[i]}' | grep -E "("url"|"titleNoFormatting")" | sed -e s/\"//g | cut -d: -f2-
52 comments
[ 4.4 ms ] story [ 120 ms ] threadIt's based on the gdata-python-client library (http://code.google.com/p/gdata-python-client/) for accessing Google Data APIs, and the complete list of them (http://code.google.com/apis/gdata/docs/directory.html) doesn't include Gmail/reader. It does include a bunch of things that this doesn't support yet though.
There is another Perl library on github that supports pretty much everything Reader does.
The Reader API has unofficially existed for awhile, but they don't seem to mind you using it. They just added OAuth support a few months ago as well.
I'll poke into it when I get more time. I quite like the idea :)
This has me pretty psyched, honestly. The scripting possibilities are tantalizing.
We only need API for import export GTalk History, Buzz and Tasks data.
You can see the result here: http://btbytes.blogspot.com/2010/06/how-to-make-quick-blogpo...
EDIT: I realized it is python based. So it will work on any system.
Now I can easily hook up my scanner to my Google Docs
Also, and slightly off-topic: I cannot say how much I love Homebrew + Github. I was halfway into writing a new formula for this, when I decided to check. Sure enough, there's already a formula to install. Actually, I think two people already submitted formulas. In any case, if you use Homebrew, you can install it now.
Thanks.
EDIT: The pypi package is "googlecl"
This will make that a lot, lot easier and more automatic.
If you use Vim, see here for the taskpaper.vim syntax script: http://www.vim.org/scripts/script.php?script_id=2027
CL is reserved for OpenCL, the Open Computing Language.
And this isn't a CLI, of course. In this case, that would be the shell itself.