Skip to main content

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

This version

1.0

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)

Uploaded source

Built Distribution

RedditReader-1.0-py3-none-any.whl (3.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page