httparty
reddit_api
httparty | reddit_api | |
---|---|---|
8 | 5 | |
5,755 | 36 | |
- | - | |
6.1 | 0.0 | |
5 days ago | almost 12 years ago | |
Ruby | Python | |
MIT License | GNU General Public License v3.0 only |
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.
httparty
-
Reddit API Ruby Gem
I would grab a gem like httparty, and dive into the API docs and see what you can do.
-
Web Scraping Google With Ruby
HTTParty — Used to make HTTP requests and fetch the required data.
-
Automating Updates to Twilio Webhook URLs
Usually, my ruby HTTP library of choice is HTTParty but I wanted to set this up using the ruby Net::HTTP lib to keep from introducing another dependency.
-
Best language to learn quickly/easily to interact with an API?
Everyone here seems to have misread what you wanted. From my interpretation, you are trying to upload a csv somewhere, using an api. With ruby, you can either do it with a built in library or one of the nice http gems. Someone suggested using Python with a builtin library called requests which isn't actually built in, so I'm also going to go with a library that isn't built in. httparty
-
How to consume an API that comes with basic authentication?
My go-to is HTTParty for most cases. As a simple example for a one-off request:
-
Testing external APIs with Rspec and WebMock
I'm too tied to the implementation. If one day I decide to use Faraday or HTTParty as my HTTP clients instead of Net::HTTP, this test will fail.
-
Phase_one, CLI project
httparty gem
-
Using the Postmark API and custom metatags with Ruby on Rails
Now we ensured the right meta data is added to the emails with a custom metatag, let's setup the Postmark API to retrieve the email data an show it in our application. The first step is to add a gem so we can send HTTP requests to the Postmark API. There are several good gems for this, I use the httparty gem. So add this to the Gemfile:
reddit_api
-
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?
Faraday - Simple, but flexible HTTP client library, with support for multiple backends.
reddit - historical code from reddit.com
RESTClient - Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.
word_cloud - A little word cloud generator in Python
Typhoeus - Typhoeus wraps libcurl in order to make fast and reliable requests.
Http Client - 'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.
excon - Usable, fast, simple HTTP 1.1 for Ruby
HTTP - HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
Savon - Heavy metal SOAP client
Http-2 - Pure Ruby implementation of HTTP/2 protocol
Flexirest - Flexirest - The really flexible REST API client for Ruby
vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.