Description Usage Arguments Value Examples
Create a new Tremendous API Client
1 | trem_client_new(api_key = NULL, sandbox = TRUE)
|
api_key |
API key from
tremendous.com. Can either pass in
here as a character string or set for repeated use with
|
sandbox |
Logical: |
An object of class 'tremClient' that contains the API Key and Environment information for easily performing Tremendous API requests.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# Create a client for testing API calls within the Sandbox environment.
test_client <- trem_client_new(api_key = "TEST_YOUR-KEY-HERE",
sandbox = TRUE)
# Create a client for performing API calls within a production environment.
# This client will be able to send actual money!
prod_client <- trem_client_new(api_key = "PROD_YOUR-KEY-HERE",
sandbox = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.