ywGetSitemapInfo: Get info about sitemap from Yandex Webmaster

Description Usage Arguments Value Author(s) Examples

Description

ywGetSitemapInfo downloads info about sitemap from Yandex Webmaster API v 3.0

Usage

1
ywGetSitemapInfo(user_id = NULL, host_id = NULL, sitemap_id = NULL, token = NULL)

Arguments

user_id

User id from function ywGetUserId.

host_id

Host id of your site. You can get by function ywGetSitesList.

sitemap_id

Sitemap id from host. You can get by function siteSitemaps.

token

Token for Yandex Webmaster API from function ywGetToken

Value

Returns data frame with columns: sitemap_id - id of sitemap, sitemap_url - url of sitemap, last_access_date - date of last access by yandex robot, errors_count - quantity of sitemap errors, urls_count - quantity of urls in sitemap, children_count - quantity of children sitemaps if it is sitemap index file, sources - sources where yandex found sitemaps, sitemap_type - type of sitemap file

Author(s)

Ivan Kutas

Examples

1
2
3
4
sitemapInfo <- ywGetSitemapInfo(host_id=hostId, 
                                sitemap_id=sitemapId, 
                                user_id=userId, 
                                token=myToken)

kutasok/ryandexwebmasterv3 documentation built on May 20, 2019, 7:06 p.m.