Saturday 29 August 2020

How to get API key for YouTube?

  1. Go to https://console.developers.google.com/project and log in or create an account, if necessary
  2. Сlick on the blue CREATE PROJECT button as depicted in the photo below. Wait a moment as google prepares your project. Troubleshooting: if you reached your project limit, then sign in with another Google Account or create a new one.1.png
  3. Fill in whatever Project Name you want and click on blue CREATE button2.png
  4. Then follow APIs & Services > Library at the top left corner and click on Library3.png
  5. Search for “YouTube Data API” and click on it. Make sure you are selecting specifically “YouTube Data API” and not any other YouTube API4.png
  6. Now click on the blue “ENABLE” button5.png
  7. Click on CREATE CREDENTIALS button at the top right6.png
  8. Follow Add credentials to your project guide:
    • Select YouTube Data API v3 in Which API are you using?
    • Select Android in Where will you be calling the API from?
    • Select Public data in What data will you be accessing?
    • Click on blue What credentials do I need? button7.png
  9. Copy API key into Enter YouTube API key field on creation form2020-06-11_14-01-18.png2020-06-11_14-19-28.png
  10. Done! Follow the next steps for YouTube app creation

 

Note: You can always access your YouTube API key in Credentials section of your Google Project

2020-06-11_14-02-39.png

No comments: