Skip to contents

Returns a tibble() of all codes (or names) for a specified API group.

Usage

list_codes(api, endpoint_group)

Arguments

api

An httr2 response object created with init_api().

endpoint_group

String. A valid API group name which can be found by calling list_group_names().

Value

A tibble of codes or, in the case of Comprehensive Groups, names.

Examples

if (FALSE) { # \dontrun{
list_codes(api, "threats")
} # }