| axprism_client | R Documentation |
Create an AxPrism API client
axprism_client(
api_key = NULL,
base_url = "https://axprism.com",
timeout_s = 30,
max_retries = 3,
backoff_s = 0.5
)
api_key |
Your AxPrism API key ( |
base_url |
API base URL. Defaults to |
timeout_s |
Request timeout in seconds (default 30). |
max_retries |
Max retries on 429 / 5xx (default 3). |
backoff_s |
Base seconds for exponential backoff (default 0.5). |
An object of class axprism_client.
# Constructing a client is offline and requires no network access.
client <- axprism_client(api_key = "demo-key")
inherits(client, "axprism_client")
client$base_url
# Trailing slashes in the base URL are normalized away.
axprism_client(api_key = "k", base_url = "https://axprism.com/")$base_url
## Not run:
# A live call additionally needs a real API key and network access.
client <- axprism_client(api_key = "axmd_demo_try_axprism_2024")
axprism_compliance(client, "AAPL")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.