Consuming Reddit API
This is a simple way to consume the Reddit API, we are listing the most popular topics on Reddit from one specific subreddit
Below is the code to achieve this:
import requests
subreddit = 'python'
top_limit = 5
endpoint = f'https://www.reddit.com/r/{...
felipelealol.com1 min read