R/create_ping_url.R

Defines functions create_ping_url

Documented in create_ping_url

#' Create the URL to ping the Encyclopedia of Life
#' @inheritParams default_params_doc
#' @author Richel J.C. Bilderbeek
create_ping_url <- function(key = NULL) {
  url <- "https://eol.org/api/ping.xml"
  if (!is.null(key)) {
    url <- paste0(url, "?key=", key)
  }
  url
}
richelbilderbeek/aureole documentation built on March 4, 2020, 10:47 p.m.