I found the Google Sheet Java API to hide columns, but I couldn't find any API to unhide/show a hidden column. The only way I could figure out till now is using Apps Script. Can you please help with the corresponding Java API?
Related
Disclaimer, I'm new to API's.
I have an API key, that holds data for a bunch of different basketball games. I currently have all of the different games in a google sheets document, under which I have the column "scores". I want to update the google sheets column "scores" every time the API changes.
I want to do this using Zapier, but I have no idea how. I have a clue that I need to use Catch Hooks, but I can't seem to figure it out. I'm trying to follow this guide: https://help.zapier.com/hc/en-us/articles/8496288690317-Trigger-Zaps-from-webhooks#3-add-the-webhook-url-to-your-app-0-3
But I can't seem to figure out how to add a new Webhook or Callback Url.
Btw, my API is from API-Basketball (https://www.api-basketball.com) and is being handled in RapidAPI. Maybe that will help
What I plan to achieve is be able to pull data from the sheets.
Name
I.D
Image URL
Website URL
and populate a text view, image view and webview.
The endpoint mentioned http://spreadsheets.google.com/feeds/<feed>/<key>/<worksheet>/public/<...>?alt=json was provided by an older Google API called GData (Google Data Protocol).
That API however is being deprecated. Users of GData API (Spreadsheet endpoint) must migrate to Sheets API.
To fetch the values of the Sheets file from your Kotlin app, I’d recommend using the method spreadsheets.values/get.
Same question as this one, but when using the Google API, not Google Apps Script. I use Java but an illustration in any language or REST would be good.
Answer:
You cannot do that, since the spreadsheet itself doesn't have a selected range. A certain user may have selected a range, but that information is not available to the API (see spreadsheet resource for further reference).
Explanation:
In Apps Script, bound scripts get the special privilege of using methods (e.g. getActiveRange()) that provide information on what the current user has selected (see Special methods).
But even using Apps Script, this cannot work in standalone scripts. Let alone using the API.
I'm trying to zoom into a google Spreadsheet using an API call. Is this possible? I would also like to enable full screen from another API call once I dynamically create a spreadsheet, but I can't find it in the documentation, anyone knows how to do this?
Currently, the functionality that lets you Zoom in and out the spreadsheets is not supported in Base Script Services (Class Ui). Also, you have a similar SO post, have a check.
Is it possible to create google sheet template programmatically? If yes how to do it? I know I am suppose to check API documentation but I am not a technical person.
I don't think this is supported as of now.
I searched in Introduction to the Google Sheets API docs for a guide on how to do operations with Sheets API but have not found an explicit guide on how to do this.
You can also check Spreadsheet using Google App Script but there is no mention as well.