OK, I’ll admit, my last post was downright shameful…
The code was poorly presented, and poorly formatted. It wasn’t at ALL my normal caliber of work, so I went ahead and rewrote the concept into a tighter little wrapper.
I am using the Gattica gem to interact with the Google Analytics API.
This little script provides a wrapper around the gem that easily allows you to extract your sites organic keywords and sort them based on the number of unique entrances to your site via each keyword.

Nice script!
It’s great seeing a Rubyist in the SEO/PPC sphere. I shall be reading your blog intently.