gimite / google-spreadsheet-ruby

Ruby library to read/write Google Spreadsheet
Other
306 stars 52 forks source link

Access protected document without authenticating? #24

Closed andyw8 closed 12 years ago

andyw8 commented 12 years ago

Google Docs allows the share settings to be configured so that anyone with the link can edit that document. Is there a way to use this form of access with the gem?

gimite commented 12 years ago

It seems there isn't. Google Spreadsheet API require to authenticate as someone even if the spreadsheet is public. Once you authenticate with someone, it may be possible to access "anyone with the link can edit" document even if it is not explicitly shared with the user, but I haven't tested it. See also issue #1 .