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


gabrielbouleau/mangal.package documentation built on Jan. 19, 2024, 1:03 p.m.