r-lib / httr

httr: a friendly http package for R
https://httr.r-lib.org
Other
986 stars 1.99k forks source link
api curl http r

httr

Status

Lifecycle: superseded

httr is superseded: only changes necessary to keep it on CRAN will be made. We recommend using httr2 instead.


CRAN status R-CMD-check Codecov test coverage

The aim of httr is to provide a wrapper for the curl package, customised to the demands of modern web APIs.

Key features:

httr wouldn't be possible without the hard work of the authors of curl and libcurl. Thanks! httr is inspired by http libraries in other languages, such as Resty, Requests and httparty.

Installation

To get the current released version from CRAN:

install.packages("httr")

To get the current development version from github:

# install.packages("pak")
pak::pak("r-lib/httr")

Code of Conduct

Please note that the httr project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.