FindSoftware

HTTParty

Ruby HTTP client library that wraps web requests in class methods and a mixin for building API client classes.

HTTParty is a Ruby library for sending HTTP requests and reading their responses. Code calls class methods such as HTTParty.get, or includes the HTTParty module in its own class and sets a base URI, so that the class’s methods wrap one web API. A response exposes the body, status code, message and headers, and a JSON response is parsed into Ruby hashes and arrays unless the format option suppresses it.

The gem also ships an httparty command-line executable that prints a response for inspection and can format it as XML or JSON.

Worth knowing

When a request sets its own Accept-Encoding header, HTTParty decompresses Brotli, LZW and Zstandard responses only if a separate gem is loaded. The docs name each gem.

Identity

Status
Active
Maintainer
John Nunemaker4
Maintained by
Individual
First release
20097

Rendering and deploy

Install with
gem2

Releases

Current major version
Pre-1.05
Last release
2026-09-306

Adoption

GitHub stars
5,9001
Contributors
2108

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/jnunemaker/httparty
  2. 2026-11-16: links, Install with, Runtime
    raw.githubusercontent.com/jnunemaker/httparty/main/README.md
  3. 2026-11-16: Categories, Minimum runtime, License
    github.com/jnunemaker/httparty/blob/v0.24.3/httparty.gemspec
  4. 2026-11-16: Maintainer
    raw.githubusercontent.com/jnunemaker/httparty/main/MIT-LICENSE
  5. 2026-11-16: Current major version
    api.github.com/repos/jnunemaker/httparty/releases
  6. 2026-11-16: Last release
    api.github.com/repos/jnunemaker/httparty/releases/latest
  7. 2026-11-16: First release
    rubygems.org/api/v1/versions/httparty.json
  8. 2026-11-16: Contributors
    api.github.com/repos/jnunemaker/httparty/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON