yadirAuth: Authentication in 'Yandex Direct' API

Description Usage Arguments Value Author(s) Examples

View source: R/yadirAuth.R

Description

Get API Token for 'Yandex Direct' account

Usage

1
2
3
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

1
2
3
4
5
6
7
## Not run: 
### Please choose another TokenPath to save the Login permanently.
library(ryandexdirect)
yadirAuth(Login = "login", NewUser = TRUE,
          TokenPath = tempdir())

## End(Not run)

ryandexdirect documentation built on July 1, 2020, 10:39 p.m.