Add one function to get user's subreddits. I use the same function name because it does almost the same as yours.
You can go through the subreddits like in the following:
subreddits = setup_connection_reddit(LOGIN, PASSWORD)
for subreddit in subreddits:
do_something()
Add one function to get user's subreddits. I use the same function name because it does almost the same as yours. You can go through the subreddits like in the following: