youtube-playlist-tool

command module
v0.0.0-...-6cc93c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 2 Imported by: 0

README

youtube-playlist-tool

Go Report Card codebeat badge Maintainability

Build

  1. Register for a GCP YouTube API key. For instructions, see: https://developers.google.com/youtube/v3/getting-started

  2. Create youtube-secret.json in the secrets directory, using youtube-secret-template.json.

The file should be of the format:

{
  "installed": {
    "client_id": "<client_id>",
    "project_id": "<project_id>",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_secret": "<client_secret>",
    "redirect_uris": [
      "urn:ietf:wg:oauth:2.0:oob",
      "http://localhost"
    ]
  }
}

DO NOT commit your credentials or the youtube-secret.json file.

  1. Build or run the project
go run .

# OR

go install .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL