- Go to the Google Cloud Console (https://console.cloud.google.com/) and create a new project.
- Enable the YouTube API for your project.
- Create credentials for the YouTube API by following the steps in the "Getting Started" guide for the YouTube API (https://developers.google.com/youtube/v3/getting-started). This will typically involve creating an OAuth 2.0 client ID and secret.
- Install the Google API client library for your programming language “Python”
- Run the code ".py" having entered your key.