api_cli | R Documentation |
R6 class for handling NAMC cli driven api calls
a api_cli
class (R6 class)
start()
api_cli$start( api_endpoint = NA, args = list(), include = c(), exclude = c(), filter = list(), sort = c(), limit = NA, api = NULL, ... )
api_endpoint
String name of endpoint
args
List of named arguments to pass to the endpoint
include
List of fields to include
exclude
List of fields to exclude
filter
List of fieldname / filter combinations
sort
Array of fields to sort by
limit
Number of results to limit the return by
api
NAMC api instance
...
nothing is returned
clone()
The objects of this class are cloneable with this method.
api_cli$clone(deep = FALSE)
deep
Whether to make a deep clone.
auth_config = list(...) # api_cli public or private variables
auth = api_cli$new(api,args)
Starts an api cli instance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.