Little, very simple CLI of twitch for Windows.
Pronounce like that: "tickly", as in "tickle".
Download, install it and you good to go.
Firstly, you need to authenticate. Just type in cmd:
tcli
It will automaticly start authentication.
- You will get asked for your twitch login, like this, type it and press "Enter":
login: [your login here]
- After it, tCLI will open your default browser and you will need to authorize in the TwitchAPI.
- You will get sent to the "localhost" with your auth token.
- Copy it and paste it, back in cmd, here:
token: [your token]
- After it, you will probably see this, if you did all right:
Successful!
You're done!
Somewhen your token will be expired, but dont worry you're safe.
You will get message about it and you will proceeded to reauth:
Your token has been expired or incorrect.
You will be proceeded to authentication.
After that, you will again be able to use tCLI!
If you need to logout from your account, and login in different, just type and repeate auth process:
tcli auth
It stored in your documents folder:
C:/Users/[Username]/Documents/tCLI
- Delete ".cfg" file.
tcli [command] [username] [...arguments]
Simple tcli
will show live streams your followings.
Tip: you can see basic version of this, in tCLI itself, by using:
tcli help
.
f
sets titles to fullauth
for repeating auth processfollowing [from] [to]
returns boolean of check if "from" user is following "to" userfollows
returns your follows[username]
returns follows of that specified username
help
returns all avaliable commands[command]
for specified command
link [username]
copies link to the stream of specified streamer, for using in VLC, for example, default quality is source[quality]
you can specify the quality, as in twitch player: 1080p60, 720p60, 720p and etc-v [username]
you can choose vod, that you want to watch and it will copy its link, default quality is source[quality]
specifying quality, as in twitch player
live
default, shows up all live streams, that you following[username]
checks if specified user is live, if yes to returns data about its stream
login
returns data about your account[username]
returns data about specified user
vods
returns vods by the time, from your follows[username]
returns vods of the specified usernamef
sets titles to full
Feel free to post errors, contact me and stuff. You're welcome!
Uses NodeJS and such modules: node-fetch
, express
, open
, twitch-m3u8
, readline
, moment
, copy-paste
, path
, os
, fs
.