R/webproperties.R

Defines functions list_webproperties get_webproperty

Documented in get_webproperty list_webproperties

#' @template get_webproperties
#' @include mgmt.R
#' @export
get_webproperty <- function(accountId, webPropertyId, token) {
    path <- sprintf("management/accounts/%s/webproperties/%s",
                    accountId, webPropertyId)
    get_mgmt(path, token)
}

#' @template list_webproperties
#' @include mgmt.R
#' @export
list_webproperties = function(accountId = "~all", start.index = NULL, max.results = NULL, token) {
    path <- sprintf("management/accounts/%s/webproperties", accountId)
    list_mgmt(path, list(start.index = start.index, max.results = max.results), token)
}

Try the RGA package in your browser

Any scripts or data that you put into this service are public.

RGA documentation built on May 2, 2019, 6:47 a.m.