I'm currently using google apps script and google sheets api only for creating pivot tables inside the spreadsheet.
With that, I've created a template spreadsheet which I can copy from again and again. What I'm wondering is, is it possible to enable the google sheets api (for the copied spreadsheets) without going to the google API console everytime?
Related
Currently, I'm running several reports using SQL copying the data to Google sheets, amending said data to generate daily stats.
Most of the reports I run using SQL have the same date range.
If it helps I can post a couple of the SQL reports.
I'm hoping there's a way to automate this?
You can use Google Apps Script to pull data from SQL to Google Sheets and you can automate it by adding a time-driven trigger to run depending on how frequent you want it to.
References
Installable Trigger(Apps Script)
How to Retrieve SQL Data Automatically Using Google Sheets Script
I am reading in a google sheet data from many users they can hit submit on the sheet which triggers my Apps Script.
In my Apps Script I am transforming that data and writing it to another google sheet in the same format that I need it to be in for a csv.
Now I just want to upload that entire sheet to S3 as a csv. How can I do this in the Apps script?
Thank you.
I solved this problem by using the suggestions provided by the user Tanaike in this link below.
How to copy files from gdrive to s3 bucket using google scripts?
Thank you!
I'm currently manually entering data from my bank accounts into a spreadsheet in OneDrive.
I would like to be able to automate this process in some way.
The two issues I am facing in automating this are:
How do I extract transactions from my bank account?
How do I enter data into a spreadsheet in OneDrive?
If I had Excel installed I could probably enter the data using VBScript or VBA, but I only have the web version of Excel that comes with OneDrive.
I want to extract the transaction data direct from the bank account and not do screen scraping or manually download statements and parse these.
NB: If a makes a difference, the bank account is in https://www.bmo.com and one of the online accounting applications I tried seemed to be connecting with plaid.
I don't know a whole lot about the OneDrive piece, but Plaid should work for pulling transactions. For inspiration, this script (https://github.com/hirefrank/plaid-txns-google-sheets) is an example of a similar app but using Google Sheets instead of OneDrive.
You could use a finance data import tool like Fintable. It automatically syncs transactions to Airtable, and from there you could export to Excel. BMO is supported, and the monthly plan is $12.
I have to do a data migration from google sheets to bigquery.
What is the most optimal way to do it? any advice?
Thanks a lot
Try creating a table which uses Google Sheet as a datasource.
https://towardsdatascience.com/connect-bigquery-to-google-sheets-e3c4f1377659
You can migrate data from Google Sheets to BigQuery by using an Add-ons in your Google Sheets. The name of add-ons is BigQuery Uploader for Sheets.
In Google Sheets, go to Add-ons > Get add-ons in the menu and search BigQuery Uploader for Sheets
After the installation, you will see the add-ons.
You can set up your upload definitions.
You can run manual upload or use schedule uploads.
If successful, you will see the "Success" message.
You can see that data in Google Sheets have been migrated successfully to BigQuery.
I am hoping someone here can help me with the google translator API. I have an excel file with about 80k rows, and I am trying to build a macro where it translates everything in a column except for the first row. As an example I have six columns in Microsoft Excel such as the below
Excel Column Headers
Column A = Name
Column B = Address
Column C = Phone Number
Column D = Request
Column E = Google Translated Request
Column F = Notes
and I want to use the google translator API to take what is in column D and translate it to column E without translating what is in the first row as those are my column titles. Is this possible to do within an Excel Macro using the google translate API, and if so how would one do this?
In order to translate content from your Excel spreadsheets, your options would be one of the following:
Use built-in Microsoft text translation
Write a VBA script that communicates with the Microsoft Text Translator API
Write a VBA script that communicates with the Google Translation API
Depending on the use case and how confident you are with Microsoft's translation feature, I'd probably use the built in solution as it would likely be the simplest route. Depending on the version of Excel you have, it could even be built into the menus.
If not, you could use VBA script to use the Microsoft Text Translator REST API as suggested by #sysmod in a previous answer. As I'm not entirely familiar with that API, I'd strongly recommend reading the linked documentation.
If you prefer to use the Google Translation API, there is a REST API that you can use as linked above. You'd essentially need to use VBA script to issue a GET or POST request to https://translation.googleapis.com/language/translate/v2.
Keep in mind that in the case of both REST APIs (Microsoft and Google alike), you would need very specific query parameters as shown in their respective linked documentation and you'd also need to authentication your project/application using a subscription key or API key. This is the only way for Microsoft of Google to keep track of how much free quota your application has used.
Built into Excel 2016:
https://www.microsoft.com/en-us/translator/excel.aspx
Not Google, but using the free Microsoft Azure API:
https://sysmod.wordpress.com/2017/01/20/vba-code-for-microsoft-text-translator-api/
Solution without VBA:
Using Power Query in Excel to Translate Data Using the Google Translation API
https://www.mrexcel.com/board/excel-articles/using-power-query-in-excel-to-translate-data-using-the-google-translation-api.33/