
The id parameter value, UC_x5XG1OV2P6uZZ5FSM9Ttw, is the The part and id parameter values shouldīe set. The left side of the fullscreen APIs Explorer shows the following:īelow the Request parameters header, there is a list of parameters The first listing in the tableĬlick the code symbol for the first listing to open and populate the Several common ways that the method is used. On that page, the "Common use cases" section contains a table that explains Uses an API key to identify your application, and it does not require userĪuthorization or any special permissions from the user running the sample. Retrieving information about the GoogleDevelopers YouTube channel. Use the APIs Explorer widget in the side panel to obtain sample code for You can leave the Authorized redirect URIs

In the Authorized JavaScript origins field, enter the URL ForĮxample, you need user authorization to retrieve information about theĬurrently authenticated user's YouTube channel. You need to use OAuthĢ.0 credentials for requests that require user authorization. Set the application type to Web application. For example, you do not need userĪuthorization to retrieve information about a public YouTube channel. You will use the API key to make API requests that do Make sure the API is enabled for your project. Complete the following tasks in the API Console for your project: Step 1: Set up your project and credentialsĬreate or select a project in the API Console. Access to the internet and a web browser.Python 2.4 or greater (to provide a web server).

Note: More generally, you can follow the instructions for the first exampleįor any use case that uses an API key or the instructions for the secondĮxample for any use case that requires authorization using OAuth 2.0. That retrieves information about your own YouTube channel. You will use an OAuth 2.0 client ID to submit an authorized request.Retrieve information about the GoogleDevelopers YouTube channel.


This quickstart guide explains how to set up a simple page that makes requests
