Skip to content

deno8bits/japwr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just Another Python Wrapper for Reddit

Python wrapper I use for personal projects. Use at your own risk.

Inspired by PRAW

Install

pip install git+https://github.com/deno8bits/japwr

Usage

Get daily top posts from r/all

from japwr import Reddit

reddit = Reddit('SOME USERAGENT HERE')

posts = reddit.subreddit('all').top()

Get a post

from japwr import Reddit

reddit = Reddit('SOME USERAGENT HERE')

post = reddit.post('144f6xm')

Get multiple posts

from japwr import Reddit

reddit = Reddit('SOME USERAGENT HERE')

post = reddit.batchPosts(['144f6xm', '14nb5qs'])

TODO

  • Ability to read anything there is an endpoint for (if the user is allowed to)
  • Ability to do basic stuff like creating posts and comments (if the user is allowed to)
  • Ability to perform mod actions (if the user is allowed to)

About

Just Another Python Wrapper for Reddit

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages