PRAW
snoowrap
Our great sponsors
PRAW | snoowrap | |
---|---|---|
528 | 25 | |
3,317 | 1,013 | |
1.4% | - | |
7.7 | 0.0 | |
4 days ago | about 1 year ago | |
Python | JavaScript | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PRAW
- PRAW documentation
- Testing
- `resubmit=False` started resubmitting duplicate URLs Jul 24 2023
-
Just curious which person is the most popular user flair.
I'm... not sure I understand the question? PRAW still works just fine for "personal use" of the reddit API.
-
How to use use Praw library with access and refresh tokens?
Thank you for pointing out. So there is no need then for the access token? Only with the refresh token is enough? To be honest I took a look at it but I did not expect that to be under authentication as strictly speaking, the user already made the authentication. Also I took a look at the code at https://github.com/praw-dev/praw/blob/master/praw/reddit.py and I did not get a hint whether was possible to pass it or not. I am just saying this to let you know I tried to search for the answer before asking. Again thank you for the help.
-
PRAW VS redditwarp - a user suggested alternative
2 projects | 21 Jun 2023
-
Migrating subreddits to Lemmy communities
To get the relevant IDs, you can use something like PRAW to query the subreddit for the top 1000 posts for example.
-
Reddit Comment Nuke: A Python script to edit and save your Reddit comment history en masse
Huge thanks to the contributors to PRAW, which is the Python package that does all the heavy lifting relating to Reddit's API that I need for this script.
-
Why does PRAW's stream_generator() use a BoundedSet limit of 301?
However, in practice duplicate items were yielded with these smaller numbers. So I increased the limit briefly to 250 in October 2016, and then increased it finally to 301 in December 2016 in order to resolve https://github.com/praw-dev/praw/issues/673. That issue provides an explanation for how 301 came to be.
-
is there a list of http status code which reddit api returns?
Why? You gotta be ready for any status code. Even 777.
snoowrap
-
how does this work?
I've look at the source code on https://github.com/not-an-aardvark/snoowrap/tree/master but the code looks very confusing so I still dont know how it works. Can someone explain? thanks!
- not-an-aardvark/snoowrap: A JavaScript wrapper for the reddit API
-
Discussion Thread
There is. Use something like https://github.com/not-an-aardvark/snoowrap and it's easy
-
How do I create a bot that crawls reddit and gives me insights about certain topics/keywords? (Preferably can be written in JS)
You can access directly the official reddit API from this library https://github.com/not-an-aardvark/snoowrap It was wrappers around all the endpoints https://www.reddit.com/dev/api/
-
Streaming reddit comments & submissions into database
I found this library that I can use for streaming everything and from reading this other post on this Reddit it seems like I should first send the comments & submissions to a queue like Apache Kafka and then bulk insert them into my database. I've never used anything like this, so what do you guys recommend?
-
Getting 'Bad Request', error: 400 with snoostorm
I use PRAW for the most time but I think otherRequester in this example should work.
-
Get all unread messages
Use snoowrap
-
Coronavirus Downunder Nightly ɯopuɐɹ Discussion - 5 December 2021
The Reddit bot looks like it'll be easy. Using a package like https://github.com/not-an-aardvark/snoowrap, it allows syntax like:
-
Will I ever be unblocked from the Reddit API?
I'm learning some JavaScript so I figured I'd do some testing with the Reddit API with snoowrap. I wasn't aware of the API rules when I first started testing, I didn't have a descriptive user agent and I may have been unintentionally making more requests then I should've.
What are some alternatives?
asyncpraw - Async PRAW, an abbreviation for "Asynchronous Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.
Pushshift API - Pushshift API
post-to-reddit-with-typescript - Day 2 of #100DaysOfCode. Simple Typescript + NodeJS script to post a link to Reddit
pmaw - A multithread Pushshift.io API Wrapper for reddit.com comment and submission searches.
boto3 - AWS SDK for Python
ts-node - TypeScript execution and REPL for node.js
Telethon - Pure Python 3 MTProto API Telegram client library, for bots too!
INATBot - The Automated Moderation Bot for the r/INAT Community.
django-wordpress - WordPress models and views for Django.
context-mod - an event-based, reddit moderation bot built on top of snoowrap and written in typescript