Skip to content

Latest commit

 

History

History
32 lines (30 loc) · 997 Bytes

File metadata and controls

32 lines (30 loc) · 997 Bytes

How to get YouTube API Key

  1. Navigate to https://console.developers.google.com
  2. Click Select a project. Select project
  3. Click New project. New project
  4. Give it a name and click Create button. Dashboard
  5. Click Library, find and click on YouTube Data API v3 box. YouTube Data API
  6. Click Enable. YouTube Enable
  7. Click Credentials.
  8. Click Create credentials.
  9. Select API key. Create API key
  10. Copy token to your CLI's configuration file or set it as an environment variable: Copy token
[tokens]
youtube = "key1"

Or set the environment variable:

export PODSYNC_YOUTUBE_API_KEY="key1"

For API key rotation, you can specify multiple keys separated by spaces:

export PODSYNC_YOUTUBE_API_KEY="key1 key2"