{"repo":"ropensci/crul","free":true,"listed":false,"github":"https://github.com/ropensci/crul","clone":"git clone https://github.com/ropensci/crul.git","description":"R6 based http client for R (for developers)","language":"R","stars":108,"topics":["http","curl","async","rstats","api","r","r-package"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"crul An HTTP client, taking inspiration from Ruby's faraday and Python's requests Package documentation: Some Features: HttpClient - Main interface to making HTTP requests. Synchronous requests only. HttpResponse - HTTP response object, used for all responses across the different clients. Paginator - Auto-paginate through requests - supports a subset of all possible pagination scenarios - will fill out more scenarios soon Async - Asynchronous HTTP requests - a simple interface for many URLS - whose interface is similar to HttpClient - all URLs are treated the same. AsyncVaried - Asynchronous HTTP requests - accepts any number of HttpRequest objects - with a different interface than HttpClient / Async due to the nature of handling requests with different HTTP methods, options, etc. set curl options globally: set auth() , set headers() , and more Writing to disk and streaming: available with both synchronous requests as well as async requests Hooks on requests and responses are available in the HttpClient method only, and allow you to trigger functions to run on requests or responses, or both. See ?hooks for the details and examples Mocking: crul integrates with webmockr to mock HTTP requests. Checkout the [http testing book][book] Test caching: crul also integrates with vcr to cache http requests/responses. Checkout the [http testing book][book] Installation CRAN version Latest binaries from rOpenSci Dev version from GitHub Meta Please report any issues or bugs. License: MIT G","default_branch":null,"files":null,"tree":[],"storefront":"/r/ropensci","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ropensci/crul/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}