trakt cli
v1.1.1
████████╗██████╗ █████╗ ██╗ ██╗████████╗ ██████╗██╗ ██╗
╚══██╔══╝██╔══██╗██╔══██╗██║ ██╔╝╚══██╔══╝ ██╔════╝██║ ██║
██║ ██████╔╝███████║█████╔╝ ██║ ██║ ██║ ██║
██║ ██╔══██╗██╔══██║██╔═██╗ ██║ ██║ ██║ ██║
██║ ██║ ██║██║ ██║██║ ██╗ ██║ ╚██████╗███████╗██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚═╝
This is a CLI for trakt.tv using the trakt.tv API.
Grab a binary build from the releases.
git clone https://github.com/angristan/trakt-cli
cd trakt-cli
go build
➜ trakt
Source code: https://github.com/angristan/trakt-cli
Usage:
trakt-cli [command]
Available Commands:
auth Authenticate with trakt.tv
completion Generate the autocompletion script for the specified shell
help Help about any command
history Show your watched history
Flags:
-h, --help help for trakt-cli
Use "trakt-cli [command] --help" for more information about a command.
You need to create a Trakt API app to use the API.
Go to https://trakt.tv/oauth/applications/new and create a new app.
This will give you a Client ID and Client secret for your app.
You can now log in with the CLI:
➜ trakt auth --client-id xxx --client-secret yyy
Please go to https://trakt.tv/activate and enter the following code: XXXXXXXX
Successfully authenticated, creds written to ~/.trakt.yaml