Use Google App Script to create upcoming live events in your Google Calendar
Script ID: 1prTvghhm4asQBDa3YpnmGLoCIWeTZV7dQHDFA-UM4vZLZQ9EAU8zkpmx
See https://developers.google.com/apps-script/guides/libraries#add_a_library_to_your_script_project
var subscribedChannels = [
{key: 'CDC', shortName: 'TCDC', id: 'UCyh91eTE9jA3ykg8W3_v3DQ'},
// Add more channels as above
]
// Find your Calendar ID in https://calendar.google.com/calendar/u/0/r/settings
var calendarId = '[email protected]'
var YTLC = YouTubeLiveCalendar.init(calendarId, subscribedChannels)
// Run single channel
function runCDC() {
YTLC.runChannel('CDC')
}
// Run all channels defined in subscribedChannels
function runAllChannels() {
YTLC.runAllChannels()
}
// Use this method to list your subscriptions and find channel ID
function listSubscriptions() {
YTLC.listSubscriptions()
}