-
Notifications
You must be signed in to change notification settings - Fork 949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open a public sheet by using an API key instead of an oauth #1096
Comments
Hi, thank you for raising this issue. This is interesting, I did not know about this developer key / API key. I will have a look at it and see if we can add it to gspread. If this raises the API rate limits, then it would be awesome to have it. |
I was wondering if this has been considered any further? to add onto the "reasons", This would allow some people using plugins/programs associated with gspread, they would not have to worry about that said program having full access to their sheets. Instead it would only allow a user to edit sheets which are open to view for "everyone" |
Hi yes it has been, i need time to find a clean solution that integrates with the current system. Currently gspread is built with mandatory auth system as entry point. I have ideas I'll test them and come back with a solution |
Hi I found a way to use the API_Key to authenticate against google APIs and read publicly shared spreadsheets. I managed to read the content of a spreadsheet with it. This could be introduced but it won't solve the quota issue. I will still plan to introduce that new way to open sheets. |
Add a new auth method that allows users to open public spreadsheet files with a simple API key. closes #1096 Signed-off-by: Alexandre Lavigne <lavigne958@gmail.com>
Using an API key directly would allow more updates per second to get the sheet values
open_by_key(sheet_id)
but allowing an option to pass an API key instead of the oauth tokensThe text was updated successfully, but these errors were encountered: