yt_cli 2.3.0+1 copy "yt_cli: ^2.3.0+1" to clipboard
yt_cli: ^2.3.0+1 copied to clipboard

A CLI tool for the YouTube Data, Live Streaming, and Analytics APIs.

example/README.md

yt_cli Examples #

Authorize the CLI #

# Download client_secret.json from Google Cloud Console
yt authorize

This opens a browser for OAuth 2.0 authorization. After approving, a refresh token is saved locally so subsequent runs are unattended.

Common commands #

# Upload a video
yt videos insert \
  --video-file my_video.mp4 \
  --part snippet \
  --notify-subscribers true \
  --body '{"snippet":{"title":"My Video","description":"Hello world!"}}'

# Set a custom thumbnail
yt thumbnails set \
  --video-id YOUR_VIDEO_ID \
  --file thumbnail.jpg

# Search for videos
yt search \
  --q "Dart programming" \
  --part snippet \
  --max-results 5

# List your channels
yt channels list \
  --mine true \
  --part snippet

Run yt --help or yt <command> --help for the full list of available commands and their options.

1
likes
160
points
45
downloads

Documentation

API reference

Publisher

verified publishercdavis.ca

Weekly Downloads

A CLI tool for the YouTube Data, Live Streaming, and Analytics APIs.

Homepage
Repository (GitHub)
View/report issues

Topics

#youtube #cli #api #live-streaming #oauth2

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

args, dio, loggy, oauth2, universal_io, yt

More

Packages that depend on yt_cli