Detailed instructions on obtaining a YouTube API key
Create a new project in Google Console
Open the Enabled APIs and services page in the Google Console Dashboard.
If this is the first time you're using Google Console, you might see a message similar to this one:
Agree to the terms of service.
On the top of the page, click the projects dropdown:
Then, on the popup that opens, click New project:
Give the project a descriptive title, such as Uno Tube Player, and click Create.
The project will now be created and selected in the top dropdown.If you can't see the project, try refreshing the page.
Enable YouTube APIs for this project
If you are not already, navigate back to the Enabled APIs and services page, and click Enable APIs and services
From the APIs page, click YouTube Data API v3 (you can search for it):
Click Enable
Obtain an API key
Once YouTube Data API v3 has been enabled, its page will open.
Click Create credentials and select Public data, then click Next.
The API key will be revealed to you, click the copy button and copy the API key somewhere safe and private, it will be used in Module 8 - API endpoints when searching YouTube's data.
Alternatively, keep this tab open to copy the API key later.
You can always access the API key via the credentials menu on the left side.