yadirAuth {ryandexdirect}R Documentation

Authentication in 'Yandex Direct' API

Description

Get API Token for 'Yandex Direct' account

Usage

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

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

Value

R object with api token

Author(s)

Alexey Seleznev

Examples

## Not run: 
### Please choose another TokenPath to save the Login permanently.
library(ryandexdirect)
yadirAuth(Login = "login", NewUser = TRUE,
          TokenPath = tempdir())

## End(Not run)

[Package ryandexdirect version 3.6.2 Index]