{"id":13463435,"url":"https://github.com/jnunemaker/httparty","last_synced_at":"2026-01-16T13:47:43.507Z","repository":{"id":418269,"uuid":"37997","full_name":"jnunemaker/httparty","owner":"jnunemaker","description":":tada: Makes http fun again!","archived":false,"fork":false,"pushed_at":"2026-01-06T16:47:49.000Z","size":1616,"stargazers_count":5889,"open_issues_count":44,"forks_count":970,"subscribers_count":59,"default_branch":"main","last_synced_at":"2026-01-11T16:37:21.803Z","etag":null,"topics":["http","httparty","ruby"],"latest_commit_sha":null,"homepage":"","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/jnunemaker.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":"CONTRIBUTING.md","funding":null,"license":"MIT-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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2008-07-28T20:55:11.000Z","updated_at":"2026-01-10T14:14:53.000Z","dependencies_parsed_at":"2025-12-07T21:04:48.943Z","dependency_job_id":null,"html_url":"https://github.com/jnunemaker/httparty","commit_stats":{"total_commits":1051,"total_committers":254,"mean_commits":4.137795275590551,"dds":0.6527117031398668,"last_synced_commit":"f0c42a7198c9357f0d95633e46512c92769f6476"},"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"purl":"pkg:github/jnunemaker/httparty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fhttparty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fhttparty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fhttparty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fhttparty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jnunemaker","download_url":"https://codeload.github.com/jnunemaker/httparty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jnunemaker%2Fhttparty/sbom","scorecard":{"id":274025,"data":{"date":"2025-08-11","repo":{"name":"github.com/jnunemaker/httparty","commit":"bcc3e50c0a0b0259a201caa390875081b6c72a89"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Code-Review","score":2,"reason":"Found 6/26 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":2,"reason":"2 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/jnunemaker/httparty/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/jnunemaker/httparty/ci.yml/main?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: MIT-LICENSE:0","Info: FSF or OSI recognized license: MIT License: MIT-LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T14:02:06.521Z","repository_id":418269,"created_at":"2025-08-17T14:02:06.521Z","updated_at":"2025-08-17T14:02:06.521Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28389198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["http","httparty","ruby"],"created_at":"2024-07-31T13:00:53.498Z","updated_at":"2026-01-16T13:47:43.478Z","avatar_url":"https://github.com/jnunemaker.png","language":"Ruby","readme":"# httparty\n\n[![CI](https://github.com/jnunemaker/httparty/actions/workflows/ci.yml/badge.svg)](https://github.com/jnunemaker/httparty/actions/workflows/ci.yml)\n\nMakes http fun again! Ain't no party like a httparty, because a httparty don't stop.\n\n## Install\n\n```\ngem install httparty\n```\n\n## Requirements\n\n- Ruby 2.7.0 or higher\n- You like to party!\n\n## Examples\n\n```ruby\n# Use the class methods to get down to business quickly\nresponse = HTTParty.get('http://api.stackexchange.com/2.2/questions?site=stackoverflow')\n\nputs response.body, response.code, response.message, response.headers.inspect\n\n# Or wrap things up in your own class\nclass StackExchange\n  include HTTParty\n  base_uri 'api.stackexchange.com'\n\n  def initialize(service, page)\n    @options = { query: { site: service, page: page } }\n  end\n\n  def questions\n    self.class.get(\"/2.2/questions\", @options)\n  end\n\n  def users\n    self.class.get(\"/2.2/users\", @options)\n  end\nend\n\nstack_exchange = StackExchange.new(\"stackoverflow\", 1)\nputs stack_exchange.questions\nputs stack_exchange.users\n```\n\nSee the [examples directory](http://github.com/jnunemaker/httparty/tree/main/examples) for even more goodies.\n\n## Command Line Interface\n\nhttparty also includes the executable `httparty` which can be\nused to query web services and examine the resulting output. By default\nit will output the response as a pretty-printed Ruby object (useful for\ngrokking the structure of output). This can also be overridden to output\nformatted XML or JSON. Execute `httparty --help` for all the\noptions. Below is an example of how easy it is.\n\n```\nhttparty \"https://api.stackexchange.com/2.2/questions?site=stackoverflow\"\n```\n\n## Help and Docs\n\n- [Docs](https://github.com/jnunemaker/httparty/tree/main/docs)\n- https://github.com/jnunemaker/httparty/discussions\n- https://www.rubydoc.info/github/jnunemaker/httparty\n\n## Contributing\n\n- Fork the project.\n- Run `bundle`\n- Run `bundle exec rake`\n- Make your feature addition or bug fix.\n- Add tests for it. This is important so I don't break it in a future version unintentionally.\n- Run `bundle exec rake` (No, REALLY :))\n- 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)\n- Send me a pull request. Bonus points for topic branches.\n","funding_links":[],"categories":["Web Apps, Services \u0026 Interaction","Clients","Ruby","HTTP","Http","HTTP Clients and tools","HTTP Clients","HTTP client"],"sub_categories":["HTTP clients","Ruby Clients"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnunemaker%2Fhttparty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjnunemaker%2Fhttparty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjnunemaker%2Fhttparty/lists"}