Reddit Commands
The Reddit API[86] provides a wealth of different function calls that can perform a number of actions, ranging from subscribing and unsubscribing to subreddits to posting new submissions, emojis, and flairs. Specifically for this project, we want to retrieve only those subscribed subreddit submissions that are new posts. Once retrieved and read, we’ll also want to hide those posts so they don’t keep showing up in our new Reddit submission queries.
Show Titles of New Reddit Posts
Async PRAW makes it easy to interact with Reddit content. Thanks to this powerful Python library, we can iterate through all the recent submissions posted to a subreddit in just a few lines of code. Do this now by creating a new Python script file called ...
Get Portable Python Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.