20210902.png
Because testing the function of the Youtube plug-in in Kodi requires the use of Google API, I will record the application notes for Google personal API. This note was edited on 2021/09/02 If Google has any updates, please refer to Google.

specific steps

Fill in the basic information of the voucher
  1. Login https://console.cloud.google.com/

  2. Create a project

  3. Enable APIs and services

  4. Select the YouTube Data API v3 service and enable it

  5. Select the credentials in the left column in the YouTube Data API v3 service

  6. Configure the OAuth consent screen

  7. User Type I chose external (because I am not a GoogleWorkSpace user)

  8. Fill in the application information (options marked with a red asterisk are required)

  9. Add a range (you can choose according to your needs)

  10. Add a test user (I added myself)

  11. Just save it

    API密匙和OAuth客户端ID创建
  12. Just create the API key and OAuth client ID directly in the credentials (the client can choose according to its own needs)

  13. According to the key given by Google API, fill it in to the Youtube application in Kodi and you can use it.

Experience using Youtube in Kodi

Advantages
  • No ads
  • Accurate search results
  • Easy to operate
Disadvantages
  • Loading speed is extremely slow (non-mainland network environment)

Reference reading

https://www.yinxiang.com/everhub/note/53490d9c-fb0a-4652-a109-7cc119ad9593

https://github.com/anxdpanic/plugin.video.youtube/wiki/Personal-API-Keys