YouTube

Retrieving subscriberCount of Channel from Video URLs of YouTube using Google Apps Script

Gists This is a sample script for retrieving the values of subscriberCount of the channel from the video URLs of YouTube using Google Apps Script. In this sample, the video URLs are retrieved from Spreadsheet. And, the retrieved values of subscriberCount are put to the Spreadsheet. The sample Spreadsheet is as follows. Sample script Please copy and paste the following script to the script editor of Spreadsheet. Before you use this script, please enable YouTube Data API v3 at Advanced Google services.

Uploading Movie File on Google Drive to YouTube using Google Apps Script

Gists This is a sample script for uploading a movie file on Google Drive to YouTube using Google Apps Script. Before you use these scripts, please enable YouTube API at Advanced Google services. Ref Sample script 1 This sample script uses YouTube API at Advanced Google services. function myFunction() { const fileId = "###"; // Please set the file ID of movie file on the Google Drive. const res = YouTube.