yadirAuth: Authentication in 'Yandex Direct' API

View source: R/yadirAuth.R

yadirAuthR 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)

selesnow/ryandexdirect documentation built on March 18, 2023, 12:57 a.m.