Learn R Programming

ryandexdirect (version 3.6.2)

yadirAuth: Authentication in 'Yandex Direct' API

Description

Get API Token for 'Yandex Direct' account

Usage

yadirAuth(Login = getOption("ryandexdirect.user"), 
          NewUser = FALSE, 
          TokenPath = yadirTokenPath())

Value

R object with api token

Arguments

Login

character, your login at Yandex, require

NewUser

logical, use TRUE if you want login into new account

TokenPath

Path to directory where you save credential data

Author

Alexey Seleznev

Examples

Run this code
if (FALSE) {
### Please choose another TokenPath to save the Login permanently.
library(ryandexdirect)
yadirAuth(Login = "login", NewUser = TRUE,
          TokenPath = tempdir())
}

Run the code above in your browser using DataLab