get_token: Get Access Token

Description Usage Arguments Value References Examples

View source: R/get_token.R

Description

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

Usage

1

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

1
2
3
4
5
6
7
## Not run: 

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

get_token()

## End(Not run)

soodoku/clarifai documentation built on May 30, 2019, 6:28 a.m.