api_call: Generic API call method

Description Usage Arguments Value

View source: R/api.R

Description

To be customised for each available method

Usage

1
api_call(method, params, simplify = F, debug = F)

Arguments

method

The name of the method to call

params

The query parameters to call the method with

simplify

Should the resulting data be simplified? fromJSON parameter simplifyDataFrame.

Value

The data from the specified API call as a list


nufflytics/nufflytics documentation built on Oct. 10, 2020, 5:27 p.m.