Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Google Apps Script Advanced YouTube Video API
Rating: 4.8 out of 5(11 ratings)
4,123 students

Google Apps Script Advanced YouTube Video API

Explore how you can build a web app that searches YouTube and returns video data using Google Apps Script
Created byLaurence Svekis
Last updated 11/2024
English
English [Auto],

What you'll learn

  • How to apply Google Apps Script
  • Write JavaScript code to create a web app
  • How to apply Google Apps Script in Projects
  • Explore how to use Google Apps Script - Classes and Methods to power up GSuite

Course content

2 sections23 lectures1h 1m total length
  • Introduction youTube Project2:47

    Build a YouTube search app from scratch with Google Apps Script and the YouTube API, displaying video ID, title, description, and thumbnails in a spreadsheet.

  • Project Setup Google Apps Script3:27

    Set up a standalone Google Apps Script project, enable YouTube Data API v3 via advanced services, and test querying the API to retrieve and log results.

  • Resources0:17
  • Search YouTube3:44

    Connect to the YouTube advanced service in Google Apps Script and build a search function that returns video IDs and snippets using a query and max results.

  • Source Code Search0:02
  • Use Data Results From Search.3:54

    Iterate through the youtube search results, extract each item's video id and snippet title, log them, and prepare a web app to display video links with a reusable search function.

  • Source Code0:05
  • Create a Web App with Google Apps Script5:34

    Create a web app with Google Apps Script by implementing doGet, rendering an HTML output from a template, and deploying with dev and executable versions and access controls.

  • Source Code0:04
  • Create HTML index page6:58

    Create a html page with a text input, a search button, and an output area; connect the client side to the Google script backend and use querySelector and prevent default.

  • Source Code Index.html0:10
  • Get Data from Google Script3:47

    Explore fetching data from Google Apps Script on the client side with google.script.run, including success and failure handlers, callbacks, and passing a search word.

  • Source Code0:11
  • Output Results to HTML Page.4:14

    Store search results from the YouTube API as a structured array, extracting the video id, title, description, and thumbnails, then render the data on the HTML page for users.

  • Output Results to HTML Page Part 26:19

    Render YouTube API results on an HTML page by dynamically building boxes with JavaScript, showing video images, titles, descriptions, and links to YouTube watch pages.

  • Output Results to HTML Page Part 32:46

    Style output results by setting box width to 19%, inline-block display, 400px height, border, and overflow handling. Prepare the YouTube search app for publishing and track results in a spreadsheet.

  • Source Code0:28
  • Add to Spreadsheet. YouTube Search Results5:05

    Learn to connect google apps script with the youtube search api by creating a spreadsheet, opening by id, and appending rows with video id, title, description, snippet, and thumbnails.

  • Source Code Google Apps Script0:10
  • Code Review youTube Project.5:09

    Explore Google Apps Script integration for the YouTube Data API by connecting advanced services, building a web app, handling search terms, displaying results, and logging to a spreadsheet.

Requirements

  • JavaScript and prior coding experience
  • Google Account
  • Computer access and internet access
  • Prior Programming experience

Description

Course covers applying Google Apps Script to create an application from scratch

Search YouTube - return the results and output the results into a web app page, or track the results into a spreadsheet.

Source code is included and it is suggested to try the code for yourself.

This is a starter project which you can extend upon and make more advanced functionality

Course covers

  • Adding YouTube service to Google Apps Script project

  • Using youTube Service in Google apps Script code

  • Searching YouTube and returning the results into JSON data

  • Using results within code to output content

  • Setting up a webapp with Google Apps Script

  • Sending data from client side to server side with Google Script

  • Using JavaScript to create elements and add event listeners to webpage

  • Writing content to a Google Spreadsheet

Taught by an instructor with over 20 years of experience ready to help you learn more about Google Apps Script

You have nothing to lose - see what amazing things you can build with Google Apps Script.


Who this course is for:

  • Web developers
  • Application developers
  • Anyone who wants to learn more about Google Script
  • Anyone who wants to create amazing applications
  • Coders who want to explore how to use Google Apps Script
  • Anyone who wants to power up their Google Suite of Products with really amazing features