R/getVersion.R

Defines functions getVersion

Documented in getVersion

#' Get the API and database version function
#'
#' The function to obtain the API and database version that the package is using.
#'
#' @return S3 object
#' @export
#' @examples
#' getVersion()


getVersion <- function() {
    url <- urlGenerator(endpoint = "version")
    return(requestFactory(url))
}

Try the OmaDB package in your browser

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

OmaDB documentation built on Nov. 13, 2020, 2 a.m.