Skip to contents

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().

Value

Object of class mgGetResponses

Details

See endpoints available with endpoints()