get_usage {clarifai} | R Documentation |
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 |
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
## 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()
## End(Not run)
[Package clarifai version 0.4.2 Index]