A summary of data about the Ruby ecosystem.

https://github.com/lostisland/faraday

Simple, but flexible HTTP client library, with support for multiple backends.
https://github.com/lostisland/faraday

Keywords from Contributors

activerecord activejob mvc rubygems rack crash-reporting rspec sinatra sidekiq oauth2

Last synced: about 11 hours ago
JSON representation

Repository metadata

Simple, but flexible HTTP client library, with support for multiple backends.

README.md

Faraday

Gem Version
GitHub Actions CI
GitHub Discussions

Faraday is an HTTP client library abstraction layer that provides a common interface over many
adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle.
Take a look at Awesome Faraday for a list of available adapters and middleware.

Why use Faraday?

Faraday gives you the power of Rack middleware for manipulating HTTP requests and responses,
making it easier to build sophisticated API clients or web service libraries that abstract away
the details of how HTTP requests are made.

Faraday comes with a lot of features out of the box, such as:

  • Support for multiple adapters (Net::HTTP, Typhoeus, Patron, Excon, HTTPClient, and more)
  • Persistent connections (keep-alive)
  • Parallel requests
  • Automatic response parsing (JSON, XML, YAML)
  • Customization of the request/response cycle with middleware
  • Support for streaming responses
  • Support for uploading files
  • And much more!

Getting Started

The best starting point is the Faraday Website, with its introduction and explanation.

Need more details? See the Faraday API Documentation to see how it works internally, or take a look at Advanced techniques for calling HTTP APIs in Ruby blog post from @mattbrictson 🚀

Supported Ruby versions

This library aims to support and is tested against the currently officially supported Ruby
implementations. This means that, even without a major release, we could add or drop support for Ruby versions,
following their EOL.
Currently that means we support Ruby 3.0+

If something doesn't work on one of these Ruby versions, it's a bug.

This library may inadvertently work (or seem to work) on other Ruby
implementations and versions, however support will only be provided for the versions listed
above.

If you would like this library to support another Ruby version, you may
volunteer to be a maintainer. Being a maintainer entails making sure all tests
run and pass on that implementation. When something breaks on your
implementation, you will be responsible for providing patches in a timely
fashion. If critical issues for a particular implementation exist at the time
of a major release, support for that Ruby version may be dropped.

Contribute

Do you want to contribute to Faraday?
Open the issues page and check for the help wanted label!
But before you start coding, please read our Contributing Guide

Copyright

© 2009 - 2023, the Faraday Team. Website and branding design by Elena Lo Piccolo.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 15 days ago

Total Commits: 1,768
Total Committers: 293
Avg Commits per committer: 6.034
Development Distribution Score (DDS): 0.755

Commits in past year: 36
Committers in past year: 18
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.611

Name Email Commits
rick t****e@g****m 434
Matt i****a 303
Mislav Marohnić m****c@g****m 230
Olle Jonsson o****n@g****m 169
Erik Michaels-Ober s****k@g****m 143
Zack Hobson z****k@z****m 26
Yutaka Kamei k****i@y****e 10
James Herdman j****n@g****m 10
htwroclau 3****u 8
Josh Lubaway j****y@g****m 7
Jim Myhrberg c****t@j****e 7
Eric Lindvall e****c@5****m 7
Bart b****r@g****m 6
Samuel Williams s****s@o****z 6
Hakan Ensari h****i@p****m 6
Dan Dofter d****n@d****m 6
Tim Galeckas t****s@g****m 6
Alexander Popov a****r@g****m 5
Geoff Hubbard I****i 5
Hiten Parmar h****r@g****m 5
Michael Grosser m****l@g****t 5
dependabot[bot] 4****] 5
Ezekiel Templin z****e@t****n 5
Robert Jackson r****j@p****m 4
Jerry Cheung j****h@w****m 4
Andrew Kane a****w@c****m 4
Adam Doppelt a****d@g****m 4
José Valim j****m@g****m 4
Leon Miller-Out l****n@s****m 4
Sebastian Cohnen t****a 4
and 263 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 4 days ago

Total issues: 113
Total pull requests: 190
Average time to close issues: 7 months
Average time to close pull requests: 14 days
Total issue authors: 103
Total pull request authors: 79
Average comments per issue: 3.9
Average comments per pull request: 1.04
Merged pull request: 164
Bot issues: 0
Bot pull requests: 7

Past year issues: 10
Past year pull requests: 37
Past year average time to close issues: 3 days
Past year average time to close pull requests: 17 days
Past year issue authors: 9
Past year pull request authors: 16
Past year average comments per issue: 2.1
Past year average comments per pull request: 0.62
Past year merged pull request: 29
Past year bot issues: 0
Past year bot pull requests: 2

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

Top Issue Authors

  • iMacTia (5)
  • olleolleolle (2)
  • AlexWayfer (2)
  • rgaufman (2)
  • yykamei (2)
  • sdalu (2)
  • michelson (2)
  • stevepm (1)
  • katbow (1)
  • anero (1)
  • swatosh (1)
  • nvanoorschot (1)
  • sled (1)
  • coberlin (1)
  • ykrods (1)

Top Pull Request Authors

  • iMacTia (27)
  • olleolleolle (21)
  • yykamei (13)
  • dependabot[bot] (7)
  • Earlopain (5)
  • theeternalvecna (4)
  • hyuraku (3)
  • sampatbadhe (3)
  • geemus (3)
  • Copilot (3)
  • tagliala (3)
  • nielsbuus (2)
  • nogtk (2)
  • koic (2)
  • mtasaka (2)

Top Issue Labels

  • feature (10)
  • help wanted (10)
  • info (7)
  • unconfirmed (7)
  • bug (6)
  • documentation (5)
  • refactoring (2)
  • question (2)
  • v1.0 (2)
  • good first issue (2)

Top Pull Request Labels

  • dependencies (7)
  • documentation (6)
  • ruby (4)
  • blocked (2)
  • github_actions (2)
  • feature (1)

Package metadata

gem.coop: faraday

HTTP/REST API client library.

  • Homepage: https://lostisland.github.io/faraday
  • Documentation: http://www.rubydoc.info/gems/faraday/
  • Licenses: MIT
  • Latest release: 2.14.0 (published 2 months ago)
  • Last Synced: 2025-12-06T01:30:14.823Z (4 days ago)
  • Versions: 155
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 1,082,441,494 Total
  • Docker Downloads: 2,335,166,276
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Downloads: 0.011%
    • Average: 0.015%
    • Docker downloads count: 0.05%
  • Maintainers (3)
rubygems.org: faraday

HTTP/REST API client library.

  • Homepage: https://lostisland.github.io/faraday
  • Documentation: http://www.rubydoc.info/gems/faraday/
  • Licenses: MIT
  • Latest release: 2.14.0 (published 2 months ago)
  • Last Synced: 2025-12-06T22:30:57.113Z (4 days ago)
  • Versions: 155
  • Dependent Packages: 5,199
  • Dependent Repositories: 484,789
  • Downloads: 1,082,600,012 Total
  • Docker Downloads: 2,335,166,276
  • Rankings:
    • Dependent packages count: 0.01%
    • Downloads: 0.011%
    • Dependent repos count: 0.034%
    • Docker downloads count: 0.095%
    • Average: 0.137%
    • Stargazers count: 0.222%
    • Forks count: 0.449%
  • Maintainers (3)
proxy.golang.org: github.com/lostisland/faraday

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/lostisland/faraday#section-documentation
  • Licenses: mit
  • Latest release: v2.12.1+incompatible (published about 1 year ago)
  • Last Synced: 2024-12-01T11:41:36.703Z (about 1 year ago)
  • Versions: 118
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Rankings:
    • Forks count: 0.873%
    • Stargazers count: 0.891%
    • Average: 3.753%
    • Dependent repos count: 4.794%
    • Dependent packages count: 8.453%
conda-forge.org: rb-faraday

  • Homepage: https://rubygems.org/gems/faraday
  • Licenses: MIT
  • Latest release: 0.17.0 (published about 6 years ago)
  • Last Synced: 2025-12-04T22:04:21.028Z (6 days ago)
  • Versions: 5
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Rankings:
    • Stargazers count: 4.686%
    • Forks count: 4.985%
    • Average: 15.757%
    • Dependent repos count: 24.377%
    • Dependent packages count: 28.978%

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
.github/workflows/publish.yml actions
  • actions/checkout v3 composite
  • dawidd6/action-publish-gem v1 composite
  • ruby/setup-ruby v1 composite
.github/workflows/refresh_team_page.yml actions
package-lock.json npm
  • 194 dependencies
package.json npm
  • docsify-cli ^4.4.4
Gemfile rubygems
  • bake-test-external >= 0 development
  • coveralls_reborn >= 0 development
  • pry >= 0 development
  • rack ~> 2.2 development
  • rake >= 0 development
  • rspec ~> 3.7 development
  • rspec_junit_formatter ~> 0.4 development
  • rubocop >= 0 development
  • rubocop-packaging ~> 0.5 development
  • rubocop-performance ~> 1.0 development
  • simplecov >= 0 development
  • webmock ~> 3.4 development
  • yard-junk >= 0 development
  • jruby-openssl ~> 0.11.0
faraday.gemspec rubygems
  • base64 >= 0
  • faraday-net_http >= 2.0, < 3.1
  • ruby2_keywords >= 0.0.4

Score: 37.014918142315025