get_usage: Get API usage for the current month and hour

Description Usage Arguments Value References Examples

View source: R/get_usage.R

Description

Get API usage for the current month and hour

Usage

1

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

1
2
3
4
5
6
7
8
## 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)

clarifai documentation built on May 2, 2019, 2:44 a.m.