Skip to content

Personal API Keys

anxdpanic edited this page Feb 17, 2020 · 13 revisions

API Key Creation

This page outlines how to create your own set of API keys for use with the YouTube add-on.

  1. Sign in at https://console.developers.google.com/

Configure the Add-on

The final step is to add your keys to the YouTube add-on, this can be done using one of the following methods.

Method 1

Enter the keys in the YouTube add-on Settings - API section.

Method 2

Enable the api configuration page, to enable this go to the Settings - API and enable Enable API configuration page

You should then be able to update your keys by visiting http://<IP of Kodi device>:<port>/api
The port used is Settings - HTTP Server - Port which by default is 50152

You can bookmark the results page for quick updates in the future. Be sure to disable this feature after use.

Method 3

Manually edit userdata/addon_data/plugin.video.youtube/api_keys.json

{
    "keys": {
        "developer": {}, 
        "personal": {
            "api_key": "<API KEY HERE>", 
            "client_id": "<CLIENT ID HERE>", 
            "client_secret": "<CLIENT SECRET HERE>"
        }
    }
}

Restart Kodi

Sign In

During the add-on Sign in process you'll be asked to Connect a device twice.

The second time you Connect a device, you will be prompted with:

This app isn't verified
This app hasn't been verified by Google yet. Only proceed if you know and trust the developer.

From there clicking Advanced and Go to <your project name> (unsafe) allows you to complete the process.

Clone this wiki locally