summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 )
+