Reputation: 4209
I am trying to do an app that requires google spreadsheet API, however it looks like I can't enable it from the console. Therefore, I can't ask for the permissions to the documents.
I know that it is possible, because I found this playground: https://developers.google.com/oauthplayground which asks for permissions for Spreadsheet API, but I just don't know how they did it.
Can someone help me, please?
Upvotes: 2
Views: 3740
Reputation: 1597
You need to use OAuth2 with the https://spreadsheets.google.com/feeds
permission scope. If you would like to create new spreadsheet file in the user's Drive, then you also need the https://www.googleapis.com/auth/drive
scope.
See this for more on the Spreadsheet API and this for Drive.
Upvotes: 2