Nothing
#' Get API usage for the current month and hour
#'
#' @param \dots Additional arguments passed to \code{\link{clarifai_GET}}.
#'
#' @return named list with four items \code{status_code}, \code{status_msg}, \code{results} (user and application details --- credits consumed, total credit)
#'
#' @export
#' @references \url{https://developer.clarifai.com/}
#'
#' @examples \dontrun{
#'
#' # Before calling the function, set API secret and id via secret_id(c("client_id", "secret"))
#' # and get token via get_token()
#'
#' get_usage()
#' }
get_usage <- function(...) {
usage <- clarifai_GET(path="usage/", query=NULL, ...)
usage
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.