After creating a request with mm_req()
, call mm_req_perform()
to perform
it with pagination and fetch the results back to R.
Arguments
- req
An API request generated by
mm_req()
.- max_reqs
The maximum number of requests to perform. Use
Inf
to perform all requests untilnext_req()
returnsNULL
.
Value
A list of HTTP responses. Each response is an S3 list with class
httr2_response
. (For more on this class, see httr2::response.) If the
request was paginated, the responses correspond to pages.