get_gen: Generic API function to retrieve several entries

View source: R/zzz.R

get_genR Documentation

Generic API function to retrieve several entries

Description

Generic API function to retrieve several entries

Usage

get_gen(endpoint, query = NULL, limit = 100, verbose = TRUE, ...)

Arguments

endpoint

character API entry point

query

list list of parameters passed to the API

limit

integer number of entries return by the API (max: 1000)

verbose

logical print API code status on error; default: TRUE

...

Further named parameters passed to httr::GET().

Details

See endpoints available with endpoints()

Value

Object of class mgGetResponses


rmangal documentation built on March 31, 2023, 10:27 p.m.