Obtain Youtube data api v3 key
Go to Google Cloud Platform to register.
First start by creating a new project. Click on Select a project.
Click on New Project.
Enter Project name and click Create.
At this point, your new project is created. Now you need to select it by clicking on it.
Click on Select a project. Choose your new project.
Select from the left sidebar Library.
On the next page search for "YouTube Data API v3" and click on.
Click on Enable.
Next you need to create credentials. Select from the left sidebar Credentials and click on Create Credentials.
Click on API key.
You have successfully created your key! You can copy it by clicking on Copy API key.
You could also create more than one key for your convenience.