Skip to contents

Perform a GET request and parse the JSON body

Usage

toa_api_call(url, query = NULL, ...)

Arguments

url

Base endpoint URL (without query string).

query

Named list of query parameters. NULL elements are omitted.

...

Passed to toa_api_request().

Value

The parsed JSON body (list / data.frame via jsonlite::fromJSON()).