Skip to contents

Perform an API query using a request object

Usage

query_opengeo_api(req, max_tries = 3, verbosity = 0)

Arguments

req

An httr2 request object

max_tries

integer. 3 by default (for now). Passed to httr2::req_retry () and controls how many times to try to perform the request, should initial attempt(s) fail.

verbosity

integer. 0 by default. Passed to httr2::req_perform() and controls the verbosity of the printed output from performing the request. Can be any integer from 0 to 3, or NULL. See ?req_perform for more detail.