{"id":13463443,"url":"https://github.com/savonrb/httpi","last_synced_at":"2025-05-14T21:09:44.864Z","repository":{"id":1066196,"uuid":"903536","full_name":"savonrb/httpi","owner":"savonrb","description":"Common interface for Ruby's HTTP clients","archived":false,"fork":false,"pushed_at":"2024-07-14T09:54:57.000Z","size":763,"stargazers_count":300,"open_issues_count":2,"forks_count":150,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-03-12T07:01:41.323Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://httpirb.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/savonrb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-09-11T14:49:07.000Z","updated_at":"2024-10-31T08:41:59.000Z","dependencies_parsed_at":"2024-01-08T19:58:22.470Z","dependency_job_id":"e0263982-545d-4887-b7da-8fa5bca90fe6","html_url":"https://github.com/savonrb/httpi","commit_stats":{"total_commits":515,"total_committers":86,"mean_commits":5.988372093023256,"dds":0.483495145631068,"last_synced_commit":"c9c6e062654a8ba55a6be573423f84649e7d9f61"},"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savonrb%2Fhttpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savonrb%2Fhttpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savonrb%2Fhttpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savonrb%2Fhttpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savonrb","download_url":"https://codeload.github.com/savonrb/httpi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244376360,"owners_count":20442885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T13:00:53.642Z","updated_at":"2025-03-27T03:02:45.422Z","avatar_url":"https://github.com/savonrb.png","language":"Ruby","readme":"# HTTPI\n\nA common interface for Ruby's HTTP libraries. This project is now in maintenance mode. For new projects, we recommend [faraday](https://github.com/lostisland/faraday).\n\n[Documentation](https://www.rubydoc.info/gems/httpi)\n\n[![Development](https://github.com/savonrb/httpi/actions/workflows/development.yml/badge.svg)](https://github.com/savonrb/httpi/actions/workflows/development.yml)\n\n## Installation\n\nHTTPI is available through [Rubygems](https://rubygems.org/gems/httpi) and can be installed via:\n\n    $ gem install httpi\n\nor add it to your Gemfile like this:\n\n    gem 'httpi', '~\u003e 4.0.0'\n\n## Usage example\n\n``` ruby\nrequire \"httpi\"\n\n# create a request object\nrequest = HTTPI::Request.new\nrequest.url = \"http://example.com\"\n\n# and pass it to a request method\nHTTPI.get(request)\n\n# use a specific adapter per request\nHTTPI.get(request, :curb)\n\n# or specify a global adapter to use\nHTTPI.adapter = :httpclient\n\n# and execute arbitary requests\nHTTPI.request(:custom, request)\n\n# add a client setup block that will be called before each request\nHTTPI.adapter = :httpclient\nHTTPI.adapter_client_setup = proc do |x|\n  x.ssl_config.set_default_paths\n  x.force_basic_auth = true\nend\n# ...\nHTTPI.get(request) do |x|\n  x.force_basic_auth = false\nend\n```\n\n### SOCKS Proxy Support\n\nTo use the the SOCKS proxy support, please add the `socksify` gem to your gemfile, and add the following code:\n\n``` ruby\nrequire 'socksify'\nrequire 'socksify/http'\n```\n\nto your project.\n\n## Documentation\n\nContinue reading at https://www.rubydoc.info/gems/httpi\n","funding_links":[],"categories":["Web Apps, Services \u0026 Interaction","Ruby"],"sub_categories":["HTTP clients"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavonrb%2Fhttpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavonrb%2Fhttpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavonrb%2Fhttpi/lists"}