I'm developing an Atom package that needs to read all data from a public readonly spreadsheet in Google Sheets, but I'm unsure about what to do.
I know I can use OAuth or an API key, but there are problems with each of these options. For OAuth, I need to setup an URI handler, and even though Atom has an URI handler (atom://package-name
), it's not easily available in Linux, and Google only allows https://
handlers. Now, about the API key, it can be used for testing, but it can't be published within the source code, which is necessary no publish the package.
So what to do? Just emphasizing that the only thing that needs to be accessed is a public readonly spreadsheet, so I guess no special access rights are required.