yadirGetSiteLinks: Get Fast Links

Description Usage Arguments Value Author(s) Examples

View source: R/yadirGetSiteLinks.R

Description

Returns sets of quick links that meet the specified criteria.

Usage

1
2
3
4
5
6
yadirGetSiteLinks(
     Login = getOption("ryandexdirect.user"),
     Token = NULL,
     Ids   = NULL,
     AgencyAccount = getOption("ryandexdirect.agency_account"),
     TokenPath     = yadirTokenPath())

Arguments

Login

character, your logins at Yandex Direct, require

Token

character, your Yandex Direct API Token, require

Ids

integer vector, ids of sitelinks sets

AgencyAccount

Your agency account login, if you get statistic from client account

TokenPath

Path to directory where you save credential data

Value

data frame with SiteLinks parameters, id, title, href and description

Author(s)

Alexey Seleznev

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
#  Recomendation, please choose another TokenPath to save the Login permanently.
sl <- yadirGetSiteLinks(Login         = "your.yandex.login",
						Ids           = c(5276537, 
						                  8927897239, 
						         	      252627, 
								          33123),
                        TokenPath     = tempdir())
 
## End(Not run)

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