Thanks Keith. I was hoping that wasn't where you found it :-(
I'm using ruby, no help for that. I'll have to do the same as you and use something that is sort of similar and transcribe it, deep deep joy.
Our of interest, are you doing all this because of the recent changes to the google calendar security settings?
Some genius in google decided to mess around with it and now I am forced into accessing a once public secondary calendar, that is now private.
Then another genius in google, decided to remove the private element of the calendar so I can't use that approach, which I was using for the private primary calendars in our google apps product.
Thanks again.