Description Usage Arguments Examples
This gives a raw call to the API, but it is intended other functions call this one
1 2 3 | aa_get_data(req_path, body, company_id = Sys.getenv("AA_COMPANY_ID"),
client_id = Sys.getenv("AA_CLIENT_ID"),
client_secret = Sys.getenv("AA_CLIENT_SECRET"))
|
req_path |
The endpoint for that particular report |
body |
An R list that will be parsed to JSON |
company_id |
Set in environment args, or pass directly here |
client_id |
Set in environment args, or pass directly here |
client_secret |
Set in environment args, or pass directly here |
1 2 3 4 5 6 7 8 | ## Not run:
aa_get_data("reports/ranked",
body = list(..etc..),
company_id = "blah")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.