Skip to main content

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 | RSS feed

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.

Source Distribution

reddit_py-0.1.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file reddit_py-0.1.tar.gz.

File metadata

  • Download URL: reddit_py-0.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for reddit_py-0.1.tar.gz
Algorithm Hash digest
SHA256 e2612bb19f42996035c967e1e4b9c8f3d441a8d68e9c3485530e91cc860e6dc7
MD5 2e4f5dc58fb5c33b95dbb2e8649d19b6
BLAKE2b-256 617cd766293bd358620d5f61170c011cb164a23fe7ff0ae1c9e5e4603fc3d406

See more details on using hashes here.

Supported by

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