Learn R Programming

rmangal (version 2.1.3)

get_gen: 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, ...)

Value

Object of class mgGetResponses

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