Learn R Programming

clarifai (version 0.4.2)

get_token: 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

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

Run the code above in your browser using DataLab