Fetch Google Sheet Data in Javascript (CSV, SQL)

  Рет қаралды 6,029

code hobo

code hobo

Күн бұрын

Пікірлер: 12
@GrahamSteer-s3j
@GrahamSteer-s3j Жыл бұрын
Excellent video. Easy to understand but when trying to implement the code I continue to receive CORS errors - Cross-Origin Request Blocked. Reason: CORS header ‘Access-Control-Allow-Origin’ missing. How are you avoiding them?
@BasGendt
@BasGendt Жыл бұрын
Change the fetch to: fetch(sheetURL, {mode: 'no-cors'})
@cic_studios
@cic_studios 8 ай бұрын
@@BasGendt @codehobo3675 I had the same error, used your fix and it's gone, now I am getting this error: Uncaught (in promise) SyntaxError: Unexpected end of JSON input at JSON.parse () at responseToObjects (getSheetData.js:15:27) at getSheetData.js:10:18 Any idea how to fix this?
@indrasuyut1958
@indrasuyut1958 9 ай бұрын
Thank you, sir! It's worked for me ❤
@Oxana191
@Oxana191 7 ай бұрын
Thank you for the great content and clear explanation 👍
@FromOliviaWithLove
@FromOliviaWithLove 10 ай бұрын
I'm cracking up at the noobs being dropped for step one. Immediate sub. Thank you!
@rabbitgames1971
@rabbitgames1971 Жыл бұрын
This stuff absolutely confuses me. If I write all the code for the JS file, and then put the SRC link to it in my html/php document, how do I then use the data it's collecting from my Google Sheet? I understand that I can embed my sheet with an Iframe, but I'd like to actually do stuff with the data in a Table. For example, if a D&D character has a Strength of 18 in my Google Sheet, when that gets pulled to my website I'd like to have my Table on my website update the Cell next to it to show +5. (For example.) Can't do that with the function that basically just shows a "live" screenshot.
@PhatNguyen-sb5fo
@PhatNguyen-sb5fo 5 ай бұрын
thnak you very much for this knowledge
@wilmercamas966
@wilmercamas966 Жыл бұрын
Gracias amigo
@richarddelaltre8804
@richarddelaltre8804 3 ай бұрын
Much better if there is a CRUD on this.
@sergiorodolforomeroq.7727
@sergiorodolforomeroq.7727 7 ай бұрын
Gracias me sirvio
@jai-h3v
@jai-h3v 11 ай бұрын
Uncaught Error: CSVDataError: Illegal quote [Row:2] i am facing this error on my console .....and when i run this code it will return plain text.The text is /*O_o*/ google.visualization.Query.setResponse........etc so do you have solution of this error
Update for Sheets Data as JSON for Web API using JavaScript fetch
12:34
Use a google sheet as your web app database (Slingcode)
16:33
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 68 МЛН
How to Use Google Sheets as a Simple CMS
10:12
Coding in Public
Рет қаралды 11 М.
Google Sheets скрипты: отдаем готовый JSON по GET-запросу. Google Web-apps. Google Scripts.
13:42
Евгений Хорошилов | Khoroshilov Evgeniy
Рет қаралды 15 М.
Google Sheets… Your Next Database?
7:16
Fireship
Рет қаралды 403 М.
Control Google Sheets with Node.js / JavaScript (v4 API)
25:51
James Grimshaw
Рет қаралды 123 М.
From Google Sheets to HTML table - importing and displaying data
16:48
Triple kill😹
00:18
GG Animation
Рет қаралды 18 МЛН