Skip to content

Instantly share code, notes, and snippets.

@JakenHerman
Last active August 31, 2021 01:32
Show Gist options
  • Save JakenHerman/b67e02aaf5a72b9e768d3e0c81064ff2 to your computer and use it in GitHub Desktop.
Save JakenHerman/b67e02aaf5a72b9e768d3e0c81064ff2 to your computer and use it in GitHub Desktop.
import os
import praw
reddit = praw.Reddit(
username = os.environ.get('REDDIT_USERNAME'),
password = os.environ.get('REDDIT_PASSWORD'),
client_id = os.environ.get('API_CLIENT'),
client_secret = os.environ.get('API_SECRET'),
user_agent = "Scooby Searcher Bot"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment