Learn R Programming

clarifai (version 0.4.2)

get_usage: Get API usage for the current month and hour

Description

Get API usage for the current month and hour

Usage

get_usage(...)

Arguments

Additional arguments passed to clarifai_GET.

Value

named list with four items status_code, status_msg, results (user and application details --- credits consumed, total credit)

References

https://developer.clarifai.com/

Examples

Run this code
## Not run: ------------------------------------
# 
# # Before calling the function, set API secret and id via secret_id(c("client_id", "secret")) 
# # and get token via get_token()
# 
# get_usage()
## ---------------------------------------------

Run the code above in your browser using DataLab