Skip to content

Instantly share code, notes, and snippets.

View xjcl's full-sized avatar
👋
Say hi to me!

Jan-Frederik Konopka xjcl

👋
Say hi to me!
  • Düsseldorf, Germany
View GitHub Profile
@xjcl
xjcl / flairstats.py
Last active July 16, 2018 22:10 — forked from rasher/flairstats.py
Subreddit flair stats
#!/usr/bin/env python
# modified from https://gist.github.com/rasher/4208507 (python 2)
import sys
from datetime import datetime
from praw import Reddit
from collections import defaultdict
r = Reddit(user_agent='flairstats/0.1 by <YOUR USERNAME>',
client_id='<GET THESE AS DESCRIBED HERE:', client_secret='https://praw.readthedocs.io/en/latest/getting_started/quick_start.html>',