summaryrefslogtreecommitdiff
path: root/twitchfollow.sh
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2015-10-21 16:56:39 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2015-10-21 16:56:39 -0700
commit83232a0352d3fbfaeab9f5d320dcac3abde03737 (patch)
treedac89c5532c5573e363c8b78ad379a18ebaf860d /twitchfollow.sh
parentd7eef063a7d993dcd91a701f151597a678b09190 (diff)
downloadtwitchtools-83232a0352d3fbfaeab9f5d320dcac3abde03737.tar.gz
twitchtools-83232a0352d3fbfaeab9f5d320dcac3abde03737.zip
twitchfollow.sh: new
Diffstat (limited to 'twitchfollow.sh')
-rwxr-xr-xtwitchfollow.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/twitchfollow.sh b/twitchfollow.sh
new file mode 100755
index 0000000..ce3c6ca
--- /dev/null
+++ b/twitchfollow.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+curl -d '' -X PUT https://api.twitch.tv/kraken/users/bungmonkey/follows/channels/"$1"?oauth_token=$(cat ~/.config/twitch/access_token)
+