How to create and configure a project?

  • Login to Google Developer Console using your Gmail.
  • Click on create a new project to create one for accessing YouTube Data API.
  • Search for Youtube Data API v3 on the “APIs & Services” section, and enable it on the new project created.
  • Then, on the “APIs & Services” section, go to Credentials and create a new API key.
  • API key acts as authorization credentials for all the requests that we execute.

Execute a sample request

After the project is created and configured the API, execute the below sample request to make sure we are able to access YouTube data using the API.

API Documentation for project configuration: https://developers.google.com/youtube/v3/getting-started

Overall

We should be able to successfully execute a simple search request after the configuration.