How to Develop With the YouTube Data API
This series of tutorials introduces you to the YouTube Data API starting with a look at the functionality of the API and a review of its developer portal. From there we show you, step by step, how to build an application of increasing complexity that calls the API.
Part one shows you how to use the API to build a simple app that can return the contents of a publicly viewable YouTube playlist. To keep the code simple, the playlist ID will be hardcoded.
In part two, we show you how to show all of a channel's playlists programmatically by only knowing the channel ID. Using this, you can query the YouTube Data API in order to discover all the playlist IDs. Then, we'll query the YouTube Data API with each of those playlist IDs to retrieve and list their contents in our Web app.
Part three will show you how to get a listing of a YouTube user's playlists by only needing to know a YouTube username. Future parts will extend the code so that we can view private playlists, with a user’s permission, by instituting an OAuth workflow.