View source: R/yadirCurrencyRates.R
yadirCurrencyRates | R Documentation |
Exchange rates, currency parameters and restrictions.
yadirCurrencyRates(
Login = getOption("ryandexdirect.user"),
AgencyAccount = getOption("ryandexdirect.agency_account"),
Token = NULL,
TokenPath = yadirTokenPath())
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
## 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.