Add Quillbot API to Google Sheets - api

I have just discovered GPT-3 and found Quillbot website. I got suscribed, but I want to add their paraphrase function into Google Sheets.
I found that Google Sheets has a section where you can add functions via API. In order to apply this actions in bulk.
When you have a Quillbot premium account, you get an Api.
I have been searching if there is already something done. But I have not found it. Just this: https://rapidapi.com/quillbotapi-quillbotapi-default/api/quillbot-paraphraser
Can someone please help me to do this function in Google Sheets?
Thank you very much.

Related

Is there a SpreadsheetApp.flush() option for the Google Sheets API?

I have a spreadsheet that I send data to it, I generate a 1-minute sleep (import time → time.sleep(60)) in the code to make sure that the calculations have all been done and then I copy the result of these calculations to another page of that same spreadsheet.
In Google Apps Script there is the SpreadsheetApp.flush() option to make sure that everything in the spreadsheet is perfect to continue the code.
But what about when we use the Google Sheets API, is there a way to do this instead of putting a sleep with a random value like I do?
I was curious about that too, so I reviewed the documentation, and it seems that there is no flush() method for Sheets API.
However, I found a workaround that might help so you can make sure that you are working on the latest version of the sheet. I took inspiration from the Writecontrol parameter in Google Docs API.
"Determines the revision of the document to write to and how the
request should behave if that revision is not the current revision of
the document."
So what I was thinking is to use the Drive API Revisions by using the Revisions: list method and get the latest version of the Sheet. After that, use Revision: get to retrieve the latest version of the sheet to work on it.
You can also submit a missing feature, Google might add this method to the Sheets API later on.
Reference:
Flush() method.
Writecontrol Google Docs API.
Changes and revisions overview.
Revisions: list.
Revisions: get.

Linkedin Geotrageting in API

I have a file that holds all the possible geo targets in Linkedin which I use to pivot data by geo. As it seems from my data the file isn't up to date and after long search I couldn't find the endpoint or the source of the file, It was there before I joined. I tried to ask for support from Linkedin but there lazy supprt refer to ask here, so please if someone can share a link or the most updated file it will really help me.
thanks.

Connect Google Sheets by C # using the KEY API (not OAuth2)

I want to do a search within a sheet.
I manage to get a list of entries (https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetsID}/values/1?alt=json&key={API KEY})
but am unable to perform a search.
I use API KEY Is it possible to get an example?
Unfortunately, there is no method in Sheets API which lets you perform a search.
This has already been reported on Google's Issue Tracker here. I suggest you star the issue and eventually add a comment as well stating that you are interested in this feature.

How can I detect new row or updated row in Google Sheets through the api?

Can anyone help me figure out how to detect new row or updated row in a Google sheets through the api ? Something like a webhook ?
I think you can only do it with the help of Apps Script. You can use a trigger here to detect if something is change in your spreadsheet. The triggers let Apps Script run a function automatically when a certain event, like opening a document, occurs. Simple triggers are a set of reserved functions built into Apps Script, like the function onOpen(e), which executes when a user opens a Google Docs, Sheets, or Forms file. For more information, check this related SO question.

How to show someone came from a link on my website?

It must be the full url, not just history or type. I have seen, on statcounter.com, where they show stats regarding where the referrer of our site came from. I want to show the exact link like statcounter shows under a tab.
Does anyone know how to do this?
You will want to use Google Analytics.
Google will generate a unique javascript code for you, you then paste it in your html, which activates the service. It's very easy to get started and the dashboard is very robust considering it's free. To get started, you can check this out: http://www.google.com/analytics/learn/setupchecklist.html