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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page