Description Usage Arguments Value Author(s) Examples
auth
stores the tiny.cc API credentials as global variables. All other functions that need these credentials rely on the global variables.
1 | auth(tinycc_login, tinycc_api_key)
|
tinycc_login |
character, the login to tiny.cc. |
tinycc_api_key |
character, the API key provided by tiny.cc. |
Nothing. Sets global variables.
Philipp Ottolinger
1 2 3 4 5 6 | # Store the credentials as global variables
auth(tinycc_login = "foo", tinycc_api_key = "bar")
# Just to be sure
Sys.getenv("TINYCC_LOGIN")
Sys.getenv("TINYCC_API_KEY")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.