summaryrefslogtreecommitdiff
path: root/twitchunfollow.sh
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2015-11-16 18:18:11 -0800
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2015-11-16 18:18:11 -0800
commitb4fd5db5f0829c1bcdafa45c92301544c5620e8f (patch)
tree6079f69a60086c8cccfe330f330351f3e8044ec1 /twitchunfollow.sh
parent93ec0486dba94d468f2005e509e06a65b70eb71e (diff)
downloadtwitchtools-b4fd5db5f0829c1bcdafa45c92301544c5620e8f.tar.gz
twitchtools-b4fd5db5f0829c1bcdafa45c92301544c5620e8f.zip
twitchunfollow: new
Diffstat (limited to 'twitchunfollow.sh')
-rwxr-xr-xtwitchunfollow.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/twitchunfollow.sh b/twitchunfollow.sh
new file mode 100755
index 0000000..e48dc54
--- /dev/null
+++ b/twitchunfollow.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+curl -d '' -X DELETE https://api.twitch.tv/kraken/users/$( cat ~/.config/twitch/username )/follows/channels/"$1"?oauth_token=$( cat ~/.config/twitch/access_token )
+