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.

Files for RedditReader, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size RedditReader-1.0-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size RedditReader-1.0.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

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