YouTube Data API and Google Apps Script

The YouTube Playlists tool is written using the Google Data API but you can also use Google Apps Script for the task.

The App Script connects to YouTube through oAuth and then you can use YouTube Data feeds ( to fetch information about any YouTube playlist given its ID. The ID can be easily extracted from a YouTube playlist URL using a regular expression (PL[A-Za-z0-9_-]+) and the video lists is available in JSON format that can be parsed using the Utilities.jsonParse library of Apps Script.