R/orcid_ping.R

Defines functions orcid_ping

Documented in orcid_ping

#' Check if ORCID API is up and running
#'
#' @export
#' @param ... Curl options passed on to [crul::HttpClient()]
#' @return a text string
#' @examples \dontrun{
#' orcid_ping()
#' }
orcid_ping <- function(...) {
  orc_GET(file.path(orcid_base(), "status"), ctype = "text/plain", ...)
}
ropensci/rorcid documentation built on Sept. 12, 2022, 2:09 p.m.