Package: crul 1.6.0.9000

Scott Chamberlain

crul: HTTP Client

A simple HTTP client, with tools for making HTTP requests, and mocking HTTP requests. The package is built on R6, and takes inspiration from Ruby's 'faraday' gem (<https://rubygems.org/gems/faraday>). The package name is a play on curl, the widely used command line tool for HTTP, and this package is built on top of the R package 'curl', an interface to 'libcurl' (<https://curl.se/libcurl/>).

Authors:Scott Chamberlain [aut, cre]

crul_1.6.0.9000.tar.gz
crul_1.6.0.9000.zip(r-4.7)crul_1.6.0.9000.zip(r-4.6)crul_1.6.0.9000.zip(r-4.5)
crul_1.6.0.9000.tgz(r-4.6-any)crul_1.6.0.9000.tgz(r-4.5-any)
crul_1.6.0.9000.tar.gz(r-4.7-any)crul_1.6.0.9000.tar.gz(r-4.6-any)
crul_1.6.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
crul/json (API)

# Install 'crul' in R:
install.packages('crul', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ropensci/crul/issues

Pkgdown/docs site:https://docs.ropensci.org

On CRAN:

Conda:

httphttpsapiweb-servicescurldownloadlibcurlasyncmockingcaching

13.93 score 108 stars 148 packages 234 scripts 25k downloads 2 mentions 22 exports 11 dependencies

Last updated from:6e4ee16daa (on main). Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK134
pkgdown docsOK216
source / vignettesOK181
linux-release-x86_64OK144
macos-release-arm64OK107
macos-oldrel-arm64OK119
windows-develOK93
windows-releaseOK87
windows-oldrelOK89
wasm-releaseOK146

Exports:AsyncAsyncQueueAsyncVariedauthcrul_settingscurl_verbosehandleHttpClientHttpRequestHttpResponsemockokPaginatorproxyset_authset_headersset_optsset_proxyset_verboseuploadurl_buildurl_parse

Dependencies:clicurlhttpcodejsonlitelifecyclemimeR6Rcpprlangtriebeardurltools

curl options
Discover curl options | Other ways to use curl besides R | general info | using curl options in other packages | timeout | verbose | headers | authenticate | cookies | progress | proxies | user agent

Last update: 2025-07-18
Started: 2018-07-06

crul introduction
Install | HttpClient - the main interface | Do some HTTP requests | write to disk | stream data

Last update: 2025-07-04
Started: 2019-06-13

crul workflows
A simple HTTP request function | More customized function | Asynchronous requests

Last update: 2024-07-18
Started: 2017-03-24

async with crul
simple async | varied request async

Last update: 2024-07-18
Started: 2017-02-17

API package best practices
Importing crul | HTTP request function | Failing with fauxpas | Retrying requests | Mocking with webmockr | Testing with vcr | What else?

Last update: 2024-07-18
Started: 2018-10-24

Choosing a HTTP request class
HttpRequest | More Async

Last update: 2024-07-18
Started: 2020-07-09