Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Google Spreadsheet API Apps Script and JavaScript
Rating: 4.4 out of 5(124 ratings)
2,717 students

Google Spreadsheet API Apps Script and JavaScript

AJAX from your web application to Google Apps Script Web App API to get data from Google Spreadsheet
Created byLaurence Svekis
Last updated 11/2024
English
English [Auto],

What you'll learn

  • How to apply JavaScript AJAX and JSON
  • Google Apps Script how to setup a web app

Course content

2 sections24 lectures1h 14m total length
  • Google Get Post Web API Introduction3:00

    Explore how to build a Google Apps Script app using JavaScript that sends and retrieves data from a Google Spreadsheet with get and post endpoints, JSON responses, and fetch requests.

  • Web Developer Setup.5:02
  • Source0:06
  • Write Google Apps Script3:38
  • Get Spreadsheet Data5:59

    Learn to access Google spreadsheets with Apps Script and JavaScript by opening by ID or URL, selecting a sheet, retrieving data ranges and values, iterating posts using logging and permissions.

  • Source0:04
  • Web App Content5:29
  • Source0:08
  • Connect to WebApp URL.5:15

    Connects to a web app URL, waits for the dom to load, and fetches JSON data from the spreadsheet. Renders the data into the output area.

  • Source0:08
  • Post Data to Sheet.7:07

    Post content from a front-end web API to a Google spreadsheet using inputs, ajax fetch, and form data, while highlighting authorization risks and CORS considerations.

  • source0:21
  • WebApp POST.3:23
  • SOURCE0:03
  • Add POST to Spreadsheet5:25
  • Source Code0:17
  • DeBug and Clean Code5:19

    Learn how to debug and clean JavaScript in a Google spreadsheet Apps Script workflow, showing and hiding inputs, handling submissions, retrieving data, and refreshing the UI with IDs.

  • Source Code0:26
  • Application Conclusion Code review5:28

    Conclude the application by linking an HTML interface to a Google Apps Script web app, and use JavaScript to post and fetch JSON data from the spreadsheet.

  • Project Source Code0:51

Requirements

  • JavaScript HTML
  • Some coding experience

Description

Explore how you can setup a simple application that can output your Spreadsheet content as JSON data to be used within your websites.   Using Google Apps Script your can setup a web app URL that can receive GET and POST requests.  The GET requests can be set to output spreadsheet object data as JSON.

Additionally explore how you can send input data to your spreadsheet from your website.  Using Google Apps Script POST web app, you can get data requests and add them to your Spreadsheet

You will be amazed at how easy it can be to setup this powerful application.

Source Code is included to get you started quickly

Course Covers :

  • Basics to web editor for writing Google Apps Script

  • Setup of Bound script for Spreadsheet Data

  • Creation of web app

  • Output of Spreadsheet data as JSON in web app format

  • Use of fetch to connect to API web app endpoint to get JSON data

  • JavaScript to loop through content in JSON JavaScript Object

  • Creating elements using the document object

  • Styling and debugging of webapp application


Taught by an instructor with over 20 years of web development experience ready to help you learn.

You Have nothing to lose - create your own version of the app TODAY.

Who this course is for:

  • Web developers
  • JavaScript Coders
  • Application Developers