Last active
December 9, 2016 04:29
-
-
Save benrules2/434159930afdead0dddf53634a41b0a1 to your computer and use it in GitHub Desktop.
Reddit Sorry Counter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_reddit_agent(user_agent, client_id, client_secret, redirect='http://127.0.0.1'): | |
reddit_agent = praw.Reddit(user_agent = user_agent) | |
reddit_agent.set_oauth_app_info(client_id = client_id, | |
client_secret = client_secret, | |
redirect_uri = redirect) | |
return reddit_agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment