branches: main
Clone
clone: git://hlfw.ca/cli/ytcli gits://hlfw.ca/cli/ytcli
push: hjgit://hlfw.ca/cli/ytcli
Last commit
4299333c
– halfwit <halfwit@hlfw.ca>
authored
on 2024/08/22 21:08
update readme
About
POSIX sh
Installation:
just include in your path.
Usage:
ytcli [search|playlist|user|channel] [ -t ] KEYWORD
ytcli [channel-id] KEYWORD
Go
go get hlfw.ca/cli/ytcli
go install hlfw.ca/ytcli
API Keys
- Navigate to https://console.developers.google.com/apis/credentials (log in with your Google account if required)
- Create a new project, labelled
ytcli
- Enable Youtube v3 API usage
- Create new credentials, selecting to use an API key
- Add this key to your local factotum, or simply pass it along with the
-a
flag to ytcli