Google Sheets API - Read and Write Data

  Рет қаралды 80,049

Anthony Brunson

Anthony Brunson

Күн бұрын

Пікірлер: 44
@ackreik6334
@ackreik6334 5 жыл бұрын
is there a git repo? i want to look into the code (analyze it) so i can understand what's going on better
@kunalvirk
@kunalvirk 6 жыл бұрын
What will be the function for Save button, I am not able to make it work i.e. the data is not saving back to sheet..Thanks for the video, Cheers!!!
@Mr_MadZac
@Mr_MadZac 4 жыл бұрын
Is possible to only show the first 3 columns form my sheet wich have 30-40 columns? and also, is possible to create a filter in the div table so i can only see the rows with certain values? because my sheet have like +400 rows
@tonmoitanvi1773
@tonmoitanvi1773 3 жыл бұрын
Hello Anthony, the way you showed to turning google sheets into API, is a very lengthy process. i am using an API tool of Sheet Best , which is easy to connect and edit.
@jigneshrana7326
@jigneshrana7326 6 жыл бұрын
can you please share your sample code on git or somewhere?
@mpickard9
@mpickard9 6 жыл бұрын
I loved your first two videos because you took your time and explained things in detail. And with the stuff you posted on Github, I have the "Google technique" for access the Sheet working (instead of using Tabletop). My HTML form is done and works, and now all I need is to do a batch update of a particular row of the Sheet. Unfortunately, your explanation at the end of this video was way too fast with no demonstration, just some verbal references about it was pretty simple. Except I depend on your videos to understand because it isn't all that simple for me. I need your step-by-step with accompanying show and tell. Could you do a short video that presumes reading is up and running and demonstrate the batch update feature? Thanks.
@mariavillanueva9576
@mariavillanueva9576 4 жыл бұрын
How do you implement a workaround for 'too many request' with error code 429 aside from upgrading the account?
@normhoward4408
@normhoward4408 6 жыл бұрын
Hello my spread sheet stock list does not respond all time but my API that call back let me log back for how long draws question.For short project see that takes more time for beginner programming P N P return impacted id unsure what table.Set up AP for chrome low tension range at about 220 horizontal 55i right but visible. Time in response AP request ^ thinking again 003; phone 1 ,2 Te-ken. Also for beginner hard to adjust stock setting for like back ground color and none transparent on copy transfer page.So my continuance to none cluster cell shows standard would that be A -Z?
@koaykh
@koaykh 6 жыл бұрын
You missed out on the save button and codes associated with it, it was not explained in your video. Also, the SCOPE should be changed to 'www.googleapis.com/auth/spreadsheets'
@prosecutorgodot519
@prosecutorgodot519 5 жыл бұрын
The code is impossible to read in your video. Is it available somewhere else?
@MaxDrake
@MaxDrake 6 жыл бұрын
Hi Anthony, Love your videos, I have the same issue as others below. What is the function for the save button? I have tried Save (also tried it with only 1 = sign) neither worked. I cannot get the data in the sheets to update. I get the populateSheet to bring the data in to the web page but cannot send it back. In your video you never quite scroll down to the buttons section in index.php (you do on the original index2.php). I would really appreciate some guidance. Thankyou, kind regards Max
@MaxDrake
@MaxDrake 6 жыл бұрын
This is a cut/paste of my code: At the bottom: I added a button SAVE with a call to a function function handleSaveClick() that calls the makeApiCall(action="write"); and that seems to work. I hope this helps others, function makeApiCall(action="read") { var ssId = 'xxx; var rng = 'Sheet1'; // Writing to sheet if(action=="write"){ var vals = new Array(6); for (var row= 0; row
@pablodiaz1811
@pablodiaz1811 6 жыл бұрын
Actually, It helps me. Thanks for think in others.
@anonymouspeh6803
@anonymouspeh6803 6 жыл бұрын
@Max Drake, Thank you so much!
@zaheerabbasaghani7593
@zaheerabbasaghani7593 5 жыл бұрын
How can i display list of sheets or get list of sheet ids to display content dynamic ?
@AnthonyBrunson
@AnthonyBrunson 5 жыл бұрын
developers.google.com/sheets/api/samples/sheet#determine_sheet_id_and_other_properties
@shankarmanchal8621
@shankarmanchal8621 6 жыл бұрын
instead of for loop can we use foreach loop @anthony
@mpickard9
@mpickard9 6 жыл бұрын
I'm going to build an HTML page that reads a Google Sheet for the purpose of searching it for relevant records/rows and displaying only those. However, I anticipate that I'll be asked to provide an update function at a later date. Could you do a video where not all of the sheet's data is displayed, and how you'd approach updating a particular record/row using Batch update?
@AnthonyBrunson
@AnthonyBrunson 6 жыл бұрын
kzbin.info/www/bejne/fpOzlH2jqd6Co9U Better late than never
@mpickard9
@mpickard9 6 жыл бұрын
Sorry to bother you. I've implemented write functionality after using the TRY IT at Google with successful results to be sure the call was structured properly. But my Javascript code gets "error: A network error occurred, and the request could not be completed" which doesn't seem to be associated with the format of my Google API call. I have no clue how to debug this, and I haven't found anyone who solved this. Do you have an approach for debugging this kind of error? Thanks.
@mpickard9
@mpickard9 6 жыл бұрын
By the way, I get the same error with Insert, if that helps.
@mpickard9
@mpickard9 6 жыл бұрын
I never solved the 'network error' problem, but that doesn't matter because IT WORKS! I can now read the entire sheet and then selectively update a row at a time, insert new rows and even do partial update when necessary (using null padding). Thank you so much for getting me started. The set-up with keys and 0Auth were invaluable, and introducing me to the Try It feature provided an opportunity to test out my Google API calls before making them real in my code. I almost feel like making my own video about how I used yours as a launching pad to go further, except I have more programming to do. Thanks again.
@Cutiepie-ky9oh
@Cutiepie-ky9oh 6 жыл бұрын
Hello Anthony, thank you for your tutorial.
@pablodiaz1811
@pablodiaz1811 6 жыл бұрын
Thanks for all
@gustoledano111
@gustoledano111 4 жыл бұрын
The "save" button is not... Please help!
@mosalahlorsanov318
@mosalahlorsanov318 3 жыл бұрын
did you solve it?
@mohamedelmancy1136
@mohamedelmancy1136 6 жыл бұрын
where is the full code of part 3
@vilaspakhale4097
@vilaspakhale4097 5 жыл бұрын
Thanks Anthony... Its gonna help me very much
@gcho91
@gcho91 6 жыл бұрын
Hi Anthony, is there a way to sort the data coming back? For example, I'm using a sheets doc as API with things like Name, Birthday, Birthplace, etc. I want to sort Name by Ascending and Descending and display it on the front end while giving users the options to select which one they want. How should I approach this?
@AnthonyBrunson
@AnthonyBrunson 6 жыл бұрын
Yes you can. Are you using appscript as the backend or are you displaying it on a website?
@gcho91
@gcho91 6 жыл бұрын
AH I found the parameter request doc in the v3 docs NOT v4. Looks like they disabled sort in v4 though... I am trying to display the individual items in the front end and give users the ability to sort. Theoretically I could do different requests with param ? ascending and or descending I think
@thabangmadisa9417
@thabangmadisa9417 5 жыл бұрын
Hi Anthony. Can this be done in Azure.
@JaeTask
@JaeTask 6 жыл бұрын
Brilliant, thanks Anthony
@swist666
@swist666 5 жыл бұрын
There is also a solution called sheetdb.io - it is much easier to setup. You make a request to API and in response you get json data from spreadsheet.
@tahabera891
@tahabera891 3 жыл бұрын
Can somebody send source code?
@manbowkornwalis3604
@manbowkornwalis3604 6 жыл бұрын
why'd you disappear man?
@AnthonyBrunson
@AnthonyBrunson 6 жыл бұрын
Chris Bowman I'm still here. I'll be putting out a video tonight. Be looking out for it. Is there anything specific you would be interested in learning about?
@manbowkornwalis3604
@manbowkornwalis3604 6 жыл бұрын
Anthony Brunson i don't mean the video i mean i know you when you lived in oklahoma
@AnthonyBrunson
@AnthonyBrunson 6 жыл бұрын
Chris Bowman gotcha. Yeah injuries man. I definitely miss it though.
@manbowkornwalis3604
@manbowkornwalis3604 6 жыл бұрын
Anthony Brunson i feel yah man. hope you're doing good in life brotha.
@viniciusnoyoutube
@viniciusnoyoutube 5 жыл бұрын
Very good!
Google Sheets API - Read Data - Part 2
5:01
Anthony Brunson
Рет қаралды 36 М.
Google Sheets | How To Send HTML Form Data To Google Sheets
12:33
Learning Axis
Рет қаралды 120 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Google Sheets API - Read Data - Part 1
9:09
Anthony Brunson
Рет қаралды 89 М.
Google Sheets App Script - Using Automation To Read Emails - Part 1
14:56
Turn a Google SpreadSheet into a REST API
4:35
Valentin Despa
Рет қаралды 52 М.
Control Google Sheets with Node.js / JavaScript (v4 API)
25:51
James Grimshaw
Рет қаралды 125 М.
Google Sheets and .NET Core with C#
11:14
Twilio
Рет қаралды 79 М.
Google Sheets - Python API, Read & Write Data
28:01
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 193 М.
Google Sheets and PHP
8:27
Twilio
Рет қаралды 115 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН