my own spin on the reddit api in python