Convert Google Sheets into a REST API

preview_player
Показать описание
How to use Google Sheets as a database by turning it into a REST API with Google Apps Script. This makes Google Sheets a powerful tool for managing data online, allowing for easy data entry and retrieval without manual sharing or updating.

This allows you to add and get data from the sheet over the internet without sharing the sheet. It shows how to:

Write code in Google Sheets that listens for web requests.
Use doGet and doPost functions to handle these requests.
Insert data into the sheet and fetch a summary of this data through the web.
Deploy the script as a web app to get a URL for accessing the API.
Test the API with tools like Postman or embed it in a web form.
Рекомендации по теме
Комментарии
Автор

0:00 Introduction
0:40 API Overview and Benefits
1:01 Project Overview
2:00 Setting Up App Script
5:01 Testing the API
6:39 Debugging
7:34 Redeploying the Web App
8:43 Fetching Data with doGet
9:48 Using ImportData Function
10:30 Creating and Deploying an Online Form
12:55 Summary and Conclusion

riccardoluise
Автор

Fantastic! After over an hour watching useless redundant other videos, finally I found yours. Useful, technical, concise, clear. Thank you!

lllllllll
Автор

This is amazing!! Thanks a lot for the very clear explanation!

polgomezroyo
Автор

I love this! Thank you so much for giving me a cool idea to utilize for my projects going forward!

lavilimp
Автор

WOOOW your genius! excellent tutorial... may i invite you a cofee on patreon or anything similar? excellent tutorial!

alfredoramirez
Автор

You can update your current deployment to the latest version. No need to redeploy every time.

Gainmackain
Автор

When I create an API with this and send a request from my next.js app, I get a CORS issue. Have you encountered or solved this?

baldyardigan
Автор

hello I made a product catalog on Google sheet then I brought this catalog into WordPress

I was wondering if it would be possible thanks to the combination of Google Sheet APIs, WordPress and the use of n8n software
during the sequence that we are going to see and how many times would it be possible for all the keywords present in the description column of each of the products to be automatically replaced by good keywords?
and the same with the images

cgc
Автор

Does each post/get request counts as one Google Sheets API request? And is possible to use Bearer token to prevent anyone with the link to just be able to manipulate the data?

tigrx
Автор

My POST function works when testing it with postman, but I get CORS errors when implementing it with my react application. How do I fix this?!

corneduring
Автор

hello I'm creating a new message because I just noticed that the replies to my first message are all deleted I think YouTube deletes them automatically otherwise I wanted to ask you if you use the APIs ? If so then I don't know at all how to do it and I wanted to ask you if the ideas I had are feasible and how I could make them come true

cgc
Автор

Halo,
why di Rest API cannot fetch in PHP
something wrong or this cannot use in PHP?

AlaskaFuture