Skip to content

Instantly share code, notes, and snippets.

View unclemusclez's full-sized avatar
🙏
god bless comfy

unclemusclez unclemusclez

🙏
god bless comfy
View GitHub Profile
@swbuehler
swbuehler / TwitchFollowers.py
Last active April 20, 2022 05:07
Python 3: Get list of followers for a Twitch Channel (replace 'MissEllaCronin' in line 10 with Twitch username)
import json
import sys
import csv
from urllib import request
counter = 0
f = open('followers.csv','w',encoding='utf-8',newline="\n")
mywriter = csv.writer(f,dialect='excel',quoting=csv.QUOTE_MINIMAL)
mywriter.writerow(['Followed At (UTC)','Notifications?','User ID','User Name','User Created At (UTC)','User Updated At (UTC)','Display Name','Logo URL','Bio','User Type'])