-
Notifications
You must be signed in to change notification settings - Fork 116
Personal API Keys
This page outlines how to create your own set of API keys for use with the YouTube add-on.
- Sign in at https://console.developers.google.com/
The final step is to add your keys to the YouTube add-on, this can be done using one of the following methods.
Configure the add-on:
-
Settings -> API -> Enable personal API keys
= ENABLED -
Settings -> API -> API Key
= API KEY HERE -
Settings -> API -> API Id
= CLIENT ID HERE -
Settings -> API -> API Secret
= CLIENT SECRET HERE
Configure the add-on:
-
Settings -> API -> Enable personal API keys
= ENABLED -
Settings -> API -> API Key
= BLANK/EMPTY -
Settings -> API -> API Id
= BLANK/EMPTY -
Settings -> API -> API Secret
= BLANK/EMPTY
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.
Configure the add-on:
-
Settings -> API -> Enable personal API keys
= ENABLED -
Settings -> API -> API Key
= BLANK/EMPTY -
Settings -> API -> API Id
= BLANK/EMPTY -
Settings -> API -> API Secret
= BLANK/EMPTY
Shutdown Kodi
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"
}
}
}
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.