R/ss_list_sheets.R

Defines functions ss_list_sheets

Documented in ss_list_sheets

#' Get a data frame describing the smartsheets available
#'
#' @details
#' Note that the environment variable SMARTSHEET_API_TOKEN should be defined in order to run this or any
#' other `smarsheetr` functions.
#'
#' @examples
#' \dontrun{
#' ss_list_sheets()
#' }
#'
#' @return A dataframe
#'
#' @export
ss_list_sheets <- function() {
  resp = ss_get(path='sheets')
  # TODO: Handle pagination
  ss_resp_data_to_dataframe(resp$content$data)
}

Try the smartsheetr package in your browser

Any scripts or data that you put into this service are public.

smartsheetr documentation built on Nov. 2, 2023, 5:42 p.m.