How to create Youtube API key on KODi Nexus
Go to
https://console.developers.google.com/
If you are not logged in with your google account enter your username and password.
If you have already created a project on google cloud platform, it will be written select a project rather than create a project on the first page of the dashboard. At this point, a contextual menu will appear and you can then click on New project. In Project name, you put what you want (Youtube Project for example) then click on Create.
Now go to:
console.developers.google.com/apis/library and click on YouTube Data API v3 (create-and-set-up-youtube-api-key-on-kodi). Click on Enable. So you have just enabled the module that will allow you to create your API key. This is what we will complete together in the next step…
Get the API
Now go to:
console.cloud.google.com/apis/credentials.
Select Credentials
Click on Create Credentials
Click on API key in the drop down menu
Now copy the API key and paste it in a notepad for later use.
That’s it, your API is now created. Now we need to give the permissions so that it can be used. To do so, we need to create: A client id and A secret client id.
Creation of identifiers (OAth client)
Select OAuth Consent Screen. Under User Type, select External. Click on Create.
Select the application type. In the Name field, enter a name such as YouTube API Kodi. Click on Create.
Now, copy both your Client ID and your Secret Client and save them to a notepad for later use. As you did earlier for your API key.
Select the OAuth consent screen again in the left column.
Scroll down and click on Add users in the Test users section and enter your Gmail from which you are connected to Google.
Very shortened tutorial. I adapted this for myself. That was a while ago. Unfortunately I have no longer the link to the original source. I hope this can help some people.