R/get_webservice.R

Defines functions get_webservice

Documented in get_webservice

#' Get Web-service details
#'
#' Retrieve details about the Metabolights RESTful WebService
#'
#' @return a list of the MTBLS webservice information
#' @export
#' @examples
#' get_webservice()

get_webservice <- function()
{
  webservice_info <- httr::GET(getOption('BASE_URL')) %>% httr::content('parsed')
  return(webservice_info)
}
aberHRML/metabolighteR documentation built on March 1, 2024, 7:31 a.m.