Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A lightweight wrapper for interacting with the Reddit API

Project description

Toy python wrapper as I experiment with the [Official Reddit API](http://www.reddit.com/dev/api) It’s not intended to compete with or be as comprehensive as [PRAW](https://praw.readthedocs.org/en/latest/)[PRAW]

Usage

The package is broken down into modules following the structure of the API. Brief overview:

Accounts

login, create and delete user accounts:

client = user_login('your_username', 'your_password')

your_overview = current_account_overview(client)

Users

Retrieve the activity of a given Reddit account, options include: overview, submissions, comments and likes:

user_submissions = get_user_activity('submitted', 'valid_username', 'top', 100, 'year')

Subreddits

Retrieve info about a given, or all subreddits of a logged in client. More to come:

python_overview = about_subreddit('python')

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for reddit_py, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size reddit_py-0.1.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page