Description Usage Arguments Value Examples
Function to return a list of the capabilities of the API Key. Comes with a print method to print out the main results nicely in the console.
1 2 3 4 5 6 | getTargomoCapabilities(api_key = Sys.getenv("TARGOMO_API_KEY"),
region = Sys.getenv("TARGOMO_REGION"), config = list(),
verbose = FALSE, progress = FALSE)
## S3 method for class 'tgm_capabilities'
print(x, ...)
|
api_key |
Your Targomo API key - defaults to the |
region |
Your Targomo region - defaults to the |
config |
Config options to pass to |
verbose |
Whether to print out information about the API call. |
progress |
Whether to show a progress bar of the API call. |
x |
A list, output of |
... |
Further arguments to |
A list of the capabilities of the given API key, in the given region
1 2 3 4 5 6 7 | caps <- getTargomoCapabilities()
# print default
print.default(caps)
# print using bespoke method
print(caps)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.