R/go-whois.R

Defines functions whois_query

Documented in whois_query

#' Go WHOIS
#'
#' @param query WHOIS query
#' @param server leave `""` for the default
#' @export
whois_query <- function(query, server = "") {

  out <- .Call("R_whois_query", query, server, PACKAGE = "pwhois")

  jsonlite::fromJSON(out)

}
hrbrmstr/pwhois documentation built on April 26, 2021, 5:45 a.m.