Get permission to use Google Sheets from users - google-sheets

The goal of this project is to build a web application to backup some data into a user's Google Sheet.
Just like airtable can get user's google sheet permission and back up some data.
airtable
Or, is there a better way to get a user's permission to view/edit their Google Sheets?
Thank you.

Related

Is it possible to use Google Sheet as persistent storage without interaction of the user (after first login)?

this is what I would like to do: I wanted to create an app for my colleagues where, given a google sheet, you can send a form that would save some info on this google sheet.
I would like that, after the first login where the user gives permissions, it should not be required for the user to login again, they will be able to check the result directly on Google Sheet.
Some more info: Let's say we have the author of the Google Sheet and their customer, ok? The author of the Google Sheet creates some questions on Google Sheet, this web app will read this questions from the Google Sheet. when the customer fill an answer, in another tab of this google sheet, you will find all the answers. I want to use this single google sheet (for this specific user) as persistency. The Google Sheet, if possible, should not be public.
I was checking the documentation for Google API and Google Sheet but it seems this product doesn't fix my use case. I could be wrong though.
I checked the following links:
https://developers.google.com/identity/protocols/oauth2/web-server
https://developers.google.com/sheets/api/quickstart/js?authuser=2
https://developers.google.com/identity/protocols/oauth2
What I understood from this is that, best case scenario, after you log in, you receive an access token and a refresh token. The refresh token could be used for my use case when the access token expires, but the refresh token can be used for a limited amount of time (6 months) and you cannot use it for more than 50 times.
This would not work for me because when you give the form to other people so that they can use it, it could pass some time and they could be more than 50 so the refresh token will expire quite soon.
Is there any solution with Google Sheet API to just have an api key that I can you use in my backend without the risk of having an expiration (unless my user remove the permissions, in which case that would be fine)?
PS: I found this answer on SO already but only works for public sheets, I would need it to work for sheets that stay private: HTTP Google Sheets API v4 how to access without OAuth 2.0?

Use SpreadsheetApp.openByUrl() and set()* methods on a different user's Google Spreadsheet URL

I have a Google App Script that receives users' spreadsheet urls and attempts to set data to their documents. This process works when I am signed in on my own gmail account and setting entries to my own spreadsheet, but it doesn't work with my other gmail account's spreadsheet url corresponding with the former's App Script.
I know that the documentation explicitly states:
Spreadsheet: Read only (can use most get*() methods, but not set*()).
Cannot open other spreadsheets (SpreadsheetApp.openById() or SpreadsheetApp.openByUrl()).
But is there some way that I'm unaware of that can potentially circumvent these rules? Can I have users give me read and write access so that I can set() data to their provided spreadsheet url? I've added the follow oauthscope to my appmanifest.json in my App Script:
"oauthScopes": ["https://www.googleapis.com/auth/spreadsheets"]
So the spreadsheet url just needs to have a sharing permission of "anyone can edit."

How to sync data from podio to Google Sheets? (No Zapier or another paid services)

I have an application in Podio registering people how whats my service. I want to export this to a Google Spreadsheet automatically without Zapier or paid services like that. How can I do this?
Please, speak in a "for dummies" way hahahaha
There is an export to excel option there in app, you can generate excel and with your own code you can upload to google spread sheet.
If can try octoblu, instead of Zappier, since its free

How to access google spreadsheet data from my website?

I am trying to access google spreadsheet data from my website server side progrmming in node.js. I am able to embed spreadsheet in my webpage but not able to access its data.
You can use Google App Script's Content Service to access the data in your spreadsheet, though some programming is required.

how to get cpc and volume from google adwords toolkit?and we want to store it into our database.How is it possible?

how to get cpc and volume from google adwords toolkit? and we want to store it into our database. How is it possible?

Resources