Socket
Socket
Sign inDemoInstall

reddit_py

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    reddit_py

A lightweight wrapper for interacting with the Reddit API


Maintainers
1

Readme

========== wrap-it-up

Toy python wrapper as I experiment with the Official Reddit API It's not intended to compete with or be as comprehensive as PRAW[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')

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc