R/list_jobs.R

Defines functions list_jobs

Documented in list_jobs

#' List Jobs
#'
#' A list of jobs owned by the calling account. 
#' 
#' @param \dots Additional arguments passed to \code{\link{captr_GET}}.
#' 
#' @export
#' @references \url{https://shreddr.captricity.com/developer/api-reference/#v1-jobs}
#' 
#' @examples \dontrun{
#' list_jobs()
#' }

list_jobs <- function(...) {

  res <- captr_GET("job/", ...)

  cat("No. of jobs:", nrow(res), "\n")

  res

}

Try the captr package in your browser

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

captr documentation built on May 30, 2017, 6:39 a.m.