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 details)
Built Distribution
File details
Details for the file RedditReader-1.0.tar.gz
.
File metadata
- Download URL: RedditReader-1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 190c3549b259c13f0f9751ea9f0c54dc35c16097c9e5a0596680bd076a37f187 |
|
MD5 | 2b7168bbe8f05d6445444f3a079bb7c9 |
|
BLAKE2b-256 | 76197074c1893244cfd38ee9a4d408f04006241392b63c579d56e5f2fd33a728 |
File details
Details for the file RedditReader-1.0-py3-none-any.whl
.
File metadata
- Download URL: RedditReader-1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fa926fc91c283be91dd8686daa7d71ded15b83b416a19b1c39c17960d78987a |
|
MD5 | 3cbcf963e29f02e9caa2c08a09146f4f |
|
BLAKE2b-256 | 25ba8955ec12f84505ba4d0d6e6ff6a97b89c9352eb1f1e4f196cb83a1ebbaf4 |