historical code from reddit.com (by reddit)
reddit_api
A python wrapper for the Reddit API. I originally created this repo, and have since transferred ownership to the praw-dev (PRAW: Python Reddit API Wrapper) organization to allow this project to continue to grow. This fork is here to preserve old links, please head to the praw-dev/praw repo for the latest code. (by mellort)
reddit_api | ||
---|---|---|
9 | 5 | |
15,595 | 36 | |
- | - | |
0.0 | 0.0 | |
over 6 years ago | almost 12 years ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Posts with mentions or reviews of reddit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-29.
-
I wrote a ProtonMail client using the Electron framework.
I have a whole bunch of open source projects that I'm using all the time, you can see them all here: https://github.com/reddit/reddit/graphs
- Reddit sparks outrage after a popular app developer said it wants him to pay $20 million a year for data access
- Reddit API Ruby Gem
-
Fetching Multiple posts at once
reddit allows requests of up to 100 items at once. So if you request <= 100 items PRAW can serve your request in a single API call, but for larger requests PRAW will break it into multiple API calls of 100 items each separated by a small 2 second delay to follow the api guidelines.
- TIL Reddit used to be open-source
-
how to self replicate and start the robocopalypse
Access to Reddit’s API requires a set of OAuth2 credentials. Those credentials are obtained by registering an application with Reddit. To register an application and receive a set of OAuth2 credentials please follow only the “First Steps” section of Reddit’s OAuth2 Quick Start Example wiki page.
-
Posts to Reddit forum “SuicideWatch” spike in the early hours of Monday morning. There is a clear variation in behaviour throughout the week and throughout the day and researchers say targeted support to those at risk for suicidal thoughts and behaviours can be made more readily available.
To determine the timing of post publication, we leveraged a specific field found within each post that records the local time of the author, as documented by the JSON API of Reddit (see field “created” at https://github.com/reddit/reddit/wiki/JSON).
-
TIL that Willy Wonka & the Chocolate Factory (1971) was produced by Quaker Oats. Idea was that they were going to release a chocolate bar & the movie would promote it. However they goofed the formula & it melted at room temperature. So when the movie was released, there was no chocolate bar to sell.
Here's the code: https://github.com/reddit/reddit/blob/master/r2/r2/lib/scraper.py#L192
-
Is there a way to Create my own bot? I’m looking for the easiest way but I’ll take hard ways if there is no easy ways.
Authentication is done with OAuth2, and you can find information about that here.
reddit_api
Posts with mentions or reviews of reddit_api.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-11.
-
Reddit API Ruby Gem
https://github.com/praw-dev/praw/ - read the source and tests that includes recorded VCR-like HTTP interactions
- Reddit Bot
-
/uh OKBH October Recap (based on 6394 comments)
wordcloud, apyori, a list of stopwords, TextBlob, PRAW for reddit(but I might change that to pushshift.io later)
-
We’re working on building a real developer platform, and we’re looking for someone to lead it
All the while over these years, our API, which was ultimately built to be that thing that lets the website talk to the servers (and vice versa) became increasingly codified and relied upon for a rich ecosystem of third party scripts. And, I do mean “website” here. The roots of the most recent Reddit API date back to a time before Apps! The open nature of our APIs have allowed a rich ecosystem of 3rd party reddit apps to grow and flourish long before we got to building our own. It also means that, hough Automod solves many problems, community-specific moderation bots based in toolkits like PRAW could be build to solve many more problems. Even the usage of the word “bot” has different meanings on Reddit. Whereas on other platforms it is a shortcut to discussions of inauthenticity and manipulation, on Reddit it’s a descriptor of a large ecosystem of “good bots” built to provide such varied services as moderation support, summarization of text, and even metric to imperial unit conversions.
-
Updated Shreddit - Works for now
See: https://github.com/mellort/reddit_api/blob/master/reddit/objects.py#L359
What are some alternatives?
When comparing reddit and reddit_api you can also consider the following projects:
Lemmy - 🐀 A link aggregator and forum for the fediverse
word_cloud - A little word cloud generator in Python
RedReader - A SaidIt fork of RedReader, an unofficial open source Reddit client for Android
httparty - :tada: Makes http fun again!
Reddit-Enhancement-Suite - Reddit Enhancement Suite
neocities - Neocities.org - the web site. Yep, the backend is open source!
aether - Aether client app with bundled front-end and P2P back-end
duckduckgo-locales - Translation files for <a href="https://duckduckgo.com"> </a>
Hydrogen
uBlock-issues - This is the community-maintained issue tracker for uBlock Origin