Importing a spreadsheet from our website to our users Google Sheets account - google-sheets-api

I'm trying to figure out a simple way to allow the users of our website to press a button to import a spreadsheet (which is created dynamically in code within the website) into their Google Sheet drive.
Right now I'm currently I've setup a button that allows users to log in to their Google Account with the scope set to "https://www.googleapis.com/auth/drive.file". However, it's asking our users for way too much personal information for our taste, which we don't need at all.
Is there any other simpler way to do this without accessing personal information? I've noticed that when you log into Google Analytics and export data there it's just a simple Import button and you get your data immediately. That's exactly what I'm be looking for.
Thanks in advance.

Best and simpliest way is to give them the link to the spreadsheet with copy at the end
https://docs.google.com/spreadsheets/d/xxxxxxxidxxxxxxxxx/copy

Related

Moodle - Any way to get Access logs without plugin or direct DB?

As an instructor, I want to be able to visualise a number of aspects of when my students are accessing my courses and materials. My institution refuses to give me DB access, and won't let me install a plugin. Is there any way I can pull this data? I could easily do it with a few lines of code in Canvas, so using moodle feels like stepping back in time. I've been exploring developing an LTI app as an option (I've got the demo LTIJS app working) Any ideas?
You can access user logs in a course by going to Participants then click on the user you want to track and you will be taken to their course profile. From there, you can choose any option in the "Reports" section. You will need to have the proper capabilities. The reports shown in the screenshot are from a site admin account.

Writing Data to Google Sheets using Quasar (Vue)

I have a very small Quasar application that allows people to join a club online. I want to be able to take their data and save it into a Google Sheet. I really have no idea where to start.
Do I need to have the Google API installed in my Quasar Application? Do I need my application to be able to login to my Google Account?
I kinda need a Quasar/Google Sheet for dummies tutorial about how this works, and how to put it together. I've been reading online about the parts but I'm not sure how to put them together. Thanks for any info.

Is there a way to allow users to access Google Sheets without manually signing in?

I have set up a Google Apps Script that validates data that is entered into various Google Sheets files. I am looking for a way to allow users to access those Google Sheets files without making them sign in manually.
There are various onEdit() triggers set up that monitor these Sheets files and apply formatting to cells when data input errors occur. I'm doing validation with Google Apps Scripts because the errors are determined through non-straightforward business logic which makes Sheets' built-in data validation insufficient. The triggers are set up by a standalone Google Apps Script project. This setup means I cannot simply share a link to the Google Sheets file and have people edit it anonymously and have the data checked and cells formatted, because the scripts require more permissions than are necessary for anonymous editing.
I've looked briefly at some Google Auth API docs, but I'm not a security or web dev by trade so it's a bit confusing.
I'm looking for a solution where the user could click on a link to a Sheets file and automatically be redirected to the Sheets file and be signed in to a Google account that is managed by me, and which already has permission to access that Sheets file (this way they won't be editing these files with their personal accounts). The link would be on a Drupal site that users would have already signed into using Drupal's built-in sign-in functionality, in case that makes a difference.
You can write a stand-alone script and build a trigger yourself:
ScriptApp.newTrigger('Edit')
.forSpreadsheet('THE_SPREADSHEET_ID')
.onEdit()
.create();
function Edit()
{
//does not necessary need to be the same spreadsheet
SpreadsheetApp.openById('THE_SPREADSHEET_ID').getActiveSheet().getRange('A20').setValue('it worked');
}
If you set the sharing permission for the spreadsheet to "Anyone with the link can edit", every user (including anonymous) editing the spreadsheet will cause the trigger to run. Just make sure that after writing the script you run it once manually, after this it will run automatically on every edit.

Need somewhere to post form responses

I am trying to work out where to put the responses to a GravityForm that I have hosted on WordPress. GravityForms displays them as entry/detail which is not a good way to see how many of x people there are etc.
I need an excel-esqe grid that can be edited by multiple users, so I was thinking Google docs, but I would rather keep the data on my server.
My end users are not particularly IT literate so the front end needs to be quite user friendly.
Is there any solution that I can host on my server and post data in to? I was playing with the idea of writing the form responses to a separate WordPress table but I need a very easy way to edit them.
I'd be grateful to hear any feedback or ideas you have
Manual data copy
EtherCalc is good. The problem is how to get the data in and out of the spreadsheet,
if a manual export and import will work, then you can use EtherCalc.
EtherCalc is a google docs style spreadsheet, edited by multiple users.
You can host it on your own server.
Pay a developer to automate
As above, but pay a developer to automate the movement of data. Would take a few days of work.
Google docs form
I saw a google docs forms plugin that does this already. Maybe you saw that already.
EtherCalc forms feature.
I will add a forms feature to EtherCalc over xmas.

Is there to read the data from google spreadsheet link in IOS?

i am currently work on an IOS project which is required to read data from Spreadsheet in google drive. I have done some research and i found Google APIs client library for Objective C. However, i still have problem of retrieving data from spreadsheet. i find only the sample code that can read the file in drive from the drive that user login. But what i actually want in this project is using Google Drive as the Database. In short i want to retrieve data from the url like this https://docs.google.com/spreadsheet/ccc?key=0AoYC7S60-ywcdHVZYzh4ZlZ1Y3J5R2ZGbnBqY09jdkE&usp=sharing.
So is there a solution for this kind of problem? and if there a good site that provide a good tutorial to this kindda problem?
Google apps script is probably a simpler option. You can set it up as a web app, and read/write to the spreadsheet via the webapp. The google-spreadsheet-api is hard to use as there is little good documentation.
Refer, Google's Sample Code it can help you. You can also use GData Objective C Client to use it.