Google Sheets as JSON data for Web Pages JavaScript Fetch

Create a URL generator Website from scratch HTML CSS and JavaScript make custom queries to return Google Sheets Data
Rating: 5.0 out of 5 (3 ratings)
1,289 students
English
English [Auto]
How to setup your Google Sheet to output data as a web endpoint
Connect to a Google Sheet from JavaScript frontend code using Fetch
Get Sheet data as JSON format it in a useable format for JavaScript
Output Sheet data into your webpages

Requirements

  • HTML CSS and JavaScript
  • JSON
  • Programming knowledge

Description

Do you want to connect your Google Sheets data to your website, this course will provide the steps to create the connections. Explore how to setup a connection to your sheet data with JavaScript return your data and use it on your web page and within you web applications

Development of a website that generates links for Google Sheets.

Combination of Google Sheets send your data and using the data from your sheet in real time on your website.

Requests and query the data for results, return it on your website.

Using JavaScript Fetch to connect to the sheet Data

Create an index.html page and link to a JavaScript file. Suggested editor is Visual Studio Code and using Live Server to output the page as HTTP page in the Browser

Get Sheet data as JSON with Headings from sheets

First row of data automatically becomes headings if they contain string values. You can now loop through the first row cols and get the heading values for each one of the rows. Get your Content in CSV format and specify the format using the tax out value. csv or json

Using Query Language Select Custom Sheet Data as JSON

With Google Sheets you can make custom query requests to the Spreadsheet to return specific results. MakeSQL like queries to your spreadsheet data. Google Sheets can select the sheet and the response format like JSON or CSV. Perfect to use Google Sheets data directly on your Website.

Create a Dynamic Web Application to dynamically connect to different sheets

Exercise to make connections to your Google Spreadsheet with Dynamic value from an input field. Set the Spreadsheet ID from the input field, select the sheet you want to return data from and add a query value that gets encoded. Return the results from the interactive web input fields that are specific to that request. Make more request build your endpoint URL.

Source code and resource included



Who this course is for:

  • JavaScript Developers
  • Web developers
  • Anyone who wants JSON data from a spreadsheet
  • Anyone who uses Sheets in Google Workspace

Course content

1 section9 lectures1h 21m total length
  • Introduction Google Sheets Data as JSON Website Data Query Sheets
    03:34
  • Using JavaScript Fetch to connect to the sheet Data
    23:13
  • Source Code add Sheet data to your website
    00:36
  • Get Sheet data as JSON with Headings from sheets
    20:45
  • Source Code JSON Google Sheet Data with Headings Example
    00:43
  • Using Query Language Select Custom Sheet Data as JSON
    11:22
  • Source Code Sheets Data Custom Queries for Data return to Webpage output
    00:49
  • Create a Dynamic Web Application to dynamically connect to different sheets
    18:51
  • Source Code Query to Sheet get JSON
    01:14

Instructor

Instructor, GDE, Application Developer
Laurence Svekis
  • 4.4 Instructor Rating
  • 45,502 Reviews
  • 784,788 Students
  • 321 Courses

I'm here to help you learnachieve your dreams, come join me on this amazing adventure today
Google Developers Expert - GSuite

Providing Web development courses and digital marketing strategy courses since 2002.

Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses.

"I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998.  I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides."

"Learning, understanding with a strong passion for education.  The internet has provided us with new opportunities to expand and share knowledge."

Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how to bring amazing things to life online.  Technology connects us all in many ways.  It opens up doors to those who embrace it and learn how to make those connections real.

"My courses are designed to help you achieve your goals, learn and update skills"

Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications.  Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO

"Understanding technology provides a means to better connect with users.  It also opens so many doors.   Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"