A summary of data about the Ruby ecosystem.

https://github.com/jnunemaker/httparty

:tada: Makes http fun again!
https://github.com/jnunemaker/httparty

Keywords

http httparty ruby

Keywords from Contributors

activerecord activejob mvc rubygems rack crash-reporting feature-flag rubocop sinatra background-jobs

Last synced: about 9 hours ago
JSON representation

Repository metadata

:tada: Makes http fun again!

README.md

httparty

CI

Makes http fun again! Ain't no party like a httparty, because a httparty don't stop.

Install

gem install httparty

Requirements

  • Ruby 2.7.0 or higher
  • You like to party!

Examples

# Use the class methods to get down to business quickly
response = HTTParty.get('https://api.stackexchange.com/2.2/questions?site=stackoverflow')

puts response.body, response.code, response.message, response.headers.inspect

# Or wrap things up in your own class
class StackExchange
  include HTTParty
  base_uri 'api.stackexchange.com'

  def initialize(service, page)
    @options = { query: { site: service, page: page } }
  end

  def questions
    self.class.get("/2.2/questions", @options)
  end

  def users
    self.class.get("/2.2/users", @options)
  end
end

stack_exchange = StackExchange.new("stackoverflow", 1)
puts stack_exchange.questions
puts stack_exchange.users

See the examples directory for even more goodies.

Command Line Interface

httparty also includes the executable httparty which can be
used to query web services and examine the resulting output. By default
it will output the response as a pretty-printed Ruby object (useful for
grokking the structure of output). This can also be overridden to output
formatted XML or JSON. Execute httparty --help for all the
options. Below is an example of how easy it is.

httparty "https://api.stackexchange.com/2.2/questions?site=stackoverflow"

Help and Docs

Contributing

  • Fork the project.
  • Run bundle
  • Run bundle exec rake
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Run bundle exec rake (No, REALLY :))
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself in another branch so I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 1,195
Total Committers: 267
Avg Commits per committer: 4.476
Development Distribution Score (DDS): 0.603

Commits in past year: 122
Committers in past year: 14
Avg Commits per committer in past year: 8.714
Development Distribution Score (DDS) in past year: 0.221

Name Email Commits
John Nunemaker n****r@g****m 474
Sandro Turriate s****e@g****m 154
Thomas Nys n****e@g****m 43
 TheSmartnik m****n@g****m 31
Michael Stock m****k@g****m 17
Claude n****y@a****m 13
Ruslan Korolev r****3@g****m 11
Eric Urban h****8@g****m 11
John Hope me@j****e 9
Don Petersen d****n@d****t 9
Nathan Lilienthal n****3@m****m 9
Isaac Sanders i****s@g****m 8
Lucas Uyezu l****u@g****m 8
AjitSingh j****t@g****m 7
Javier Blanco j****z@g****m 7
rubygeek n****a@r****m 7
Ritikesh r****a@g****m 6
barberj b****n@g****m 6
Kalman Hazins k****h@g****m 5
davidgg h****a@d****s 5
Olle Jonsson o****n@g****m 4
Rick Sullivan r****n@f****m 4
Florian Munz s****f@t****e 4
Abraham Kuri k****n@i****m 4
Johnny Shields j****s@g****m 4
Alex Vollmer a****x@e****m 4
Shawn Pyle s****e@t****g 3
Brian Artiaco b****o@O****l 3
madumlao m****o@g****m 3
Igor Springer s****r@g****m 3
and 237 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 9 days ago

Total issues: 424
Total pull requests: 448
Average time to close issues: 6 months
Average time to close pull requests: 3 months
Total issue authors: 386
Total pull request authors: 304
Average comments per issue: 3.1
Average comments per pull request: 1.82
Merged pull request: 323
Bot issues: 0
Bot pull requests: 4

Past year issues: 10
Past year pull requests: 56
Past year average time to close issues: 4 days
Past year average time to close pull requests: 9 days
Past year issue authors: 10
Past year pull request authors: 14
Past year average comments per issue: 1.3
Past year average comments per pull request: 0.3
Past year merged pull request: 47
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/jnunemaker/httparty

Top Issue Authors

  • jnunemaker (12)
  • rusikf (3)
  • ferdi2005 (3)
  • georgeu2000 (3)
  • besi (3)
  • keilmillerjr (2)
  • isaacsanders (2)
  • DarthMax (2)
  • randall-coding (2)
  • mrjcleaver (2)
  • cap10morgan (2)
  • aliciatang (2)
  • PikachuEXE (2)
  • arjunmenon (2)
  • KidkArolis (2)

Top Pull Request Authors

  • jnunemaker (47)
  • TheSmartnik (18)
  • rusikf (16)
  • mikeastock (7)
  • JonMidhir (6)
  • rsullivan00 (5)
  • kalmanh (5)
  • olleolleolle (4)
  • dependabot[bot] (4)
  • cap10morgan (3)
  • will3216 (3)
  • henrik (3)
  • EmilioCristalli (3)
  • springerigor (3)
  • nchelluri (3)

Top Issue Labels

  • needs verification (3)
  • breaks backward compitability (2)
  • idea (2)
  • bug (1)

Top Pull Request Labels

  • nunebot (31)
  • dependencies (4)
  • github_actions (3)

Package metadata

gem.coop: httparty

Makes http fun! Also, makes consuming restful web services dead easy.

ubuntu-20.04: ruby-httparty

  • Homepage: https://github.com/jnunemaker/httparty
  • Licenses: mit
  • Latest release: 0.17.0-1 (published 10 months ago)
  • Last Synced: 2026-09-14T12:28:21.371707Z (2 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.07%
    • Forks count: 0.121%
    • Stargazers count: 0.159%
rubygems.org: httparty

Makes http fun! Also, makes consuming restful web services dead easy.

proxy.golang.org: github.com/jnunemaker/httparty

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/jnunemaker/httparty#section-documentation
  • Licenses: mit
  • Latest release: v0.24.3 (published about 2 months ago)
  • Last Synced: 2026-11-24T01:31:30.653849Z (1 day ago)
  • Versions: 64
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Rankings:
    • Stargazers count: 0.876%
    • Forks count: 0.881%
    • Average: 4.02%
    • Dependent repos count: 4.758%
    • Dependent packages count: 9.566%
gem.coop: dkastner-httparty

Makes http fun! Also, makes consuming restful web services dead easy.

  • Homepage: http://jnunemaker.github.com/httparty
  • Documentation: http://www.rubydoc.info/gems/dkastner-httparty/
  • Licenses: mit
  • Latest release: 0.9.0 (published about 14 years ago)
  • Last Synced: 2026-11-24T01:06:22.622545Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5,809 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 21.865%
    • Downloads: 65.594%
  • Maintainers (1)
rubygems.org: dkastner-httparty

Makes http fun! Also, makes consuming restful web services dead easy.

  • Homepage: http://jnunemaker.github.com/httparty
  • Documentation: http://www.rubydoc.info/gems/dkastner-httparty/
  • Licenses: mit
  • Latest release: 0.9.0 (published about 14 years ago)
  • Last Synced: 2026-11-24T01:06:22.615838Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5,809 Total
  • Rankings:
    • Stargazers count: 0.18%
    • Forks count: 0.389%
    • Dependent packages count: 15.706%
    • Average: 25.853%
    • Dependent repos count: 46.782%
    • Downloads: 66.209%
  • Maintainers (1)
gem.coop: yoyle439587298

Makes http fun! Also, makes consuming restful web services dead easy.

  • Homepage: http://jnunemaker.github.com/httparty
  • Documentation: http://www.rubydoc.info/gems/yoyle439587298/
  • Licenses: mit
  • Latest release: 0.13.0 (published over 12 years ago)
  • Last Synced: 2026-11-24T01:06:22.786478Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4,027 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 26.408%
    • Downloads: 79.223%
  • Maintainers (1)
rubygems.org: yoyle439587298

Makes http fun! Also, makes consuming restful web services dead easy.

  • Homepage: http://jnunemaker.github.com/httparty
  • Documentation: http://www.rubydoc.info/gems/yoyle439587298/
  • Licenses: mit
  • Latest release: 0.13.0 (published over 12 years ago)
  • Last Synced: 2026-11-24T01:06:22.793914Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 4,027 Total
  • Rankings:
    • Stargazers count: 0.181%
    • Forks count: 0.388%
    • Dependent packages count: 15.706%
    • Average: 28.632%
    • Dependent repos count: 46.782%
    • Downloads: 80.105%
  • Maintainers (1)
gem.coop: httparty_prime

Makes http fun! Also, makes consuming restful web services dead easy.

  • Homepage: https://github.com/jnunemaker/httparty
  • Status: removed
  • Documentation: http://www.rubydoc.info/gems/httparty_prime/
  • Licenses: MIT
  • Latest release: 0.24.2 (published 5 months ago)
  • Last Synced: 2026-11-24T01:06:30.408369Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 770 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 33.065%
    • Downloads: 99.194%
  • Maintainers (1)
rubygems.org: httparty_prime

Makes http fun! Also, makes consuming restful web services dead easy.

  • Homepage: https://github.com/jnunemaker/httparty
  • Status: removed
  • Documentation: http://www.rubydoc.info/gems/httparty_prime/
  • Licenses: MIT
  • Latest release: 0.24.2 (published 5 months ago)
  • Last Synced: 2026-11-24T01:06:26.818999Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 770 Total
  • Rankings:
    • Dependent packages count: 13.672%
    • Dependent repos count: 41.876%
    • Average: 49.258%
    • Downloads: 92.226%
  • Maintainers (1)
ubuntu-24.10: ruby-httparty

  • Homepage: https://github.com/jnunemaker/httparty
  • Licenses: mit
  • Latest release: 0.21.0-1 (published 10 months ago)
  • Last Synced: 2026-03-09T17:06:33.982401Z (9 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-22.04: ruby-httparty

  • Homepage: https://github.com/jnunemaker/httparty
  • Licenses: mit
  • Latest release: 0.18.1-3 (published 9 months ago)
  • Last Synced: 2026-03-13T23:37:34.534350Z (9 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-10: ruby-httparty

  • Homepage: https://github.com/jnunemaker/httparty
  • Documentation: https://packages.debian.org/buster/ruby-httparty
  • Licenses: mit
  • Latest release: 0.16.2+dfsg1-3 (published 10 months ago)
  • Last Synced: 2026-03-13T19:04:04.527083Z (9 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.04: ruby-httparty

  • Homepage: https://github.com/jnunemaker/httparty
  • Licenses: mit
  • Latest release: 0.21.0-1 (published 10 months ago)
  • Last Synced: 2026-03-11T15:28:35.707585Z (9 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-13: ruby-httparty

  • Homepage: https://github.com/jnunemaker/httparty
  • Documentation: https://packages.debian.org/trixie/ruby-httparty
  • Licenses: mit
  • Latest release: 0.21.0-1 (published 10 months ago)
  • Last Synced: 2026-09-14T12:28:35.838623Z (2 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-11: ruby-httparty

  • Homepage: https://github.com/jnunemaker/httparty
  • Documentation: https://packages.debian.org/bullseye/ruby-httparty
  • Licenses: mit
  • Latest release: 0.18.1-2 (published 10 months ago)
  • Last Synced: 2026-07-25T15:01:03.872711Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.10: ruby-httparty

  • Homepage: https://github.com/jnunemaker/httparty
  • Licenses: mit
  • Latest release: 0.21.0-1 (published 9 months ago)
  • Last Synced: 2026-03-13T19:23:41.980990Z (9 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.04: ruby-httparty

debian-12: ruby-httparty


Dependencies

Gemfile rubygems
  • addressable >= 0 development
  • aruba >= 0 development
  • cucumber ~> 2.3 development
  • guard >= 0 development
  • guard-bundler >= 0 development
  • guard-rspec >= 0 development
  • pry >= 0 development
  • rspec ~> 3.4 development
  • simplecov >= 0 development
  • webmock >= 0 development
  • mongrel = 1.2.0.pre2
  • rake >= 0
httparty.gemspec rubygems
  • mime-types ~> 3.0
  • multi_xml >= 0.5.2
.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite

Score: 35.83288472050152