Introduction to PRAW

Learn how to use the Python wrapper for the Reddit API.

Set up PRAW

Python Reddit API Wrapper (PRAW) makes using the Reddit API much more manageable. We'll use the praw.Reddit() method to make a Reddit instance. We use the refresh_token to create an authenticated instance of Reddit, instead of the access_token, just like when we were directly using the API.

Here are some important parameters we'll use to call the method:

Get hands-on with 1200+ tech skills courses.