RedditReader is a package to get random images from any Subreddit available on Reddit.
Project description
RedditReader
RedditReader is a package to get random images from any Subreddit available on Reddit.
Usage
Subreddit Class
from RedditReader import Subreddit
meme = Subreddit("memes")
meme.get_random()
url = meme.url
print(url)
> https://i.redd.it/tunx3ghxjqb51.jpg
Attributes available for RedditReader.Subreddit obejct -
url - Returns submission url
title - Returns submission title
upvotes - Returns upvote count of the submission
comments - Returns comment count of the submission
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
RedditReader-1.0.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for RedditReader-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fa926fc91c283be91dd8686daa7d71ded15b83b416a19b1c39c17960d78987a |
|
MD5 | 3cbcf963e29f02e9caa2c08a09146f4f |
|
BLAKE2b-256 | 25ba8955ec12f84505ba4d0d6e6ff6a97b89c9352eb1f1e4f196cb83a1ebbaf4 |