R/oc_package_useragent.R

Defines functions oc_package_useragent

Documented in oc_package_useragent

#' opencastR user agent
#'
#' This function returns the user agent used in api calls of the opencastR package.
#'
#' @return A character string containing the user agent used in api calls generate with the opencastR package.
#' @import httr
#' @export
#' @examples
#' oc_package_useragent()
oc_package_useragent <- function() {
  ua <- user_agent("http://github.com/ebbertd/opencastR")
  ua
}

Try the opencastR package in your browser

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

opencastR documentation built on March 19, 2020, 5:12 p.m.