This project focuses on making recursive requests to an API, how to use an API with pagination and how to read API documentation to find the endpoints we’re looking for.
Files | Description |
---|---|
0-subs.py | Python function that queries the Reddit API and returns the number of subscribers (not active users, total subscribers) for a given subreddit |
1-top_ten.py | Python function that queries the Reddit API and prints the titles of the first 10 hot posts listed for a given subreddit |
2-recurse.py | Python recursive function that queries the Reddit API and returns a list containing the titles of all hot articles for a given subreddit |