Description Usage Arguments Value Author(s) Examples
Exchange rates, currency parameters and restrictions.
1 2 | yadirCurrencyRates(Login = NULL, AgencyAccount = NULL, Token = NULL,
TokenPath = getwd())
|
Login |
Your Yandex Login |
AgencyAccount |
Your agency account login, if you get statistic from client account |
TokenPath |
Path to directory where you save credential data |
Token |
character or list object, your Yandex API Token, you can get this by function yadirGetToken or yadirAuth |
data frame with campaings names and parameters
Alexey Seleznev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
### Please choose another TokenPath to save the Login permanently.
# from storage tokrn
library(ryandexdirect)
cur <- yadirCurrencyRates(Login = "login" ,
TokenPath = tempdir())
# from auth object
aut <- yadirAuth(Login = "login", NewUser = TRUE,
TokenPath = tempdir())
cur2 <- yadirCurrencyRates(Login = "login" ,
Token = aut)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.