2016-04-02, 19:51
jmh2002 Wrote:YOUTUBE PERSONAL API KEY INSTRUCTIONS by jmh2002
* Information collated from previous posts in both the old and the new YouTube threads.
* Thank you to everyone who contributed (credits to WHCTHBD, jdf76, activoice, anxdpanic and many others)
NB: These instructions are meant for existing users with a working, signed in, and activated YouTube addon.
They are not meant to help you install, setup, sign in, or activate the YouTube addon itself if you are a first time user.
Please install, setup, sign in, activate and test the YouTube addon first, before creating your own Personal API Keys.
* Step 1:
- Click HERE - https://console.cloud.google.com/
- Select your email preference (Yes or No - it does not matter)
- Select Yes to agree to the Terms of Service (for reference: https://console.cloud.google.com/terms)
- Click Agree and Continue
NB: Please ignore any offers to "Sign up for a free trial..." and/or "Try Google Cloud Platform for free". It is not required.
- Select Project > Create Project > Enter Project Name (the name does not matter) > Create
- WAIT until the next page loads with the the New Project that you just created.
* Step 2:
- Click HERE - https://console.developers.google.com/apis/library
- Go to YouTube APIs > Select YouTube Data API > Enable
* Step 3:
- Click HERE - https://console.cloud.google.com/apis/credentials
- Select Create Credentials > API Key
- Copy and Save the API key. You will need this later. DO NOT POST THIS PUBLICALLY.
- Click Close
* Step 4:
- On the same page, Select Create Credentials > OAuth Client ID
- Then Select > Configure Consent Screen
* Step 5:
- Enter a Name in "Product name shown to users" (the name does not matter)
- Click Save and WAIT for the next page to load with the OAuth Client ID screen
- Then Select Other > Create
- Copy and Save the Client ID and the Client Secret. You will need these later. DO NOT POST THESE PUBLICALLY.
- Click OK.
* Step 6:
- Go to the YouTube addon > Settings > API Settings > Click Enable Personal API Keys > Enter all 3 Keys > Click OK
- Then > Sign Out > and after Sign In again (with the normal 2 x web activation)
After a successful Sign In to the YouTube addon you should now be using the Personal API Keys that you created.
* OR
- With Kodi shut down, Paste all 3 Keys into: Kodi / userdata / addon_data / plugin.video.youtube / settings.xml
in the following lines of code:
<setting id="youtube.api.enable" value="true" />
<setting id="youtube.api.id" value="Client ID" />
<setting id="youtube.api.key" value="API Key" />
<setting id="youtube.api.secret" value="Client Secret" />
- Then > Start Kodi > Open the YouTube addon > Sign Out > and after Sign In again (with the normal 2 x web activation)
After a successful Sign In to the YouTube addon you should now be using the Personal API Keys that you created.
Enjoy, jmh2002
PLEASE SEE THE FAQ BELOW FOR THE FOLLOWING:
* HOW TO TEST IF YOUR PERSONAL API KEYS ARE WORKING
* HOW TO VIEW YOUR PERSONAL API QUOTA DAILY USAGE HISTORY
These instructions were created by jmh2002, please thank him on his FREQUENTLY ASKED QUESTIONS post below.