Description Usage Arguments Value
A function that generates JSON data from a particular endpoint provided to the function as a string.
1 | get_data(endpoint, KEYS)
|
endpoint |
A character string that defines the endpoint and parameters utilized to gather the data. The endpoint is accessed by concatenating the string HOST -> endpoint -> apiKey. |
KEYS |
A list containing options such as testing / prediction / important variables and information. Also contains API information. |
A list of data corresponding to the 'endpoint' if status_code == 200, or NULL for an appropriate response if status_code != 200
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.