get_token {clarifai}R Documentation

Get Access Token

Description

Once you have set your Application ID and Secret via secret_id, get the access token.

Usage

get_token(...)

Arguments

...

Additional arguments passed to clarifai_POST.

Value

a list with 4 things: access_token, token_type, expires_in, scope

References

https://developer.clarifai.com/

Examples

## Not run: 

# Before calling the function, set API secret and id via secret_id(c("client_id", "secret")) 

get_token()

## End(Not run)

[Package clarifai version 0.4.2 Index]