R/contact_properties-deprecated.R

Defines functions get_contact_properties

Documented in get_contact_properties

#' Retrieve available properties for contacts
#'
#' @description Soon to be deprecated! Use [`hs_contact_properties_tidy()`].
#'
#' @template token_path
#' @template apikey
#'
#' @return Character vector of properties
#' @export
get_contact_properties <- function(token_path = hubspot_token_get(),
                                   apikey = hubspot_key_get()) {

  .Deprecated("hs_contact_properties_tidy")

  hs_contact_properties_tidy(hs_contact_properties_raw(
    token_path = token_path,
    apikey = apikey
  ))
}
lockedata/hubspot documentation built on March 1, 2020, 8:54 p.m.