How can I access Google Sheet spreadsheets only with Javascript?

I have created a simple javascript library that retrieves google spreadsheet data (if they are published) via the JSON api: https://github.com/mikeymckay/google-spreadsheet-javascript You can see it in action here: http://mikeymckay.github.com/google-spreadsheet-javascript/sample.html