Skip to contents

Some basic metrics for the entire apis.guru directory.

Usage

get_metrics(max_reqs = Inf, max_tries_per_req = 3)

req_get_metrics()

tidy_policy_get_metrics()

Arguments

max_reqs

(length-1 integer) The maximum number of separate requests to perform. Passed on to nectar::req_perform_opinionated().

max_tries_per_req

(length-1 integer) The maximum number of times to attempt each individual request. Passed on to nectar::req_perform_opinionated().

Value

get_metrics(): The API response.

req_get_metrics(): (httr2_request) A httr2::request() object.

tidy_policy_get_metrics(): (nectar_tidy_policy) A list like the ones returned by nectar::tidy_policy_prepare().