get_token: Get Access Token

View source: R/textra.R

get_tokenR Documentation

Get Access Token

Description

This function retrieves an access token from the API using the provided key and secret.

Usage

get_token(key, secret)

Arguments

key

The API key.

secret

The API secret.

Value

A character string containing the access token.

Examples

## Not run: 
key <- "abcdefghijklmnopqrstuvw01234567890abcdef1" # API key
secret <- "xyzabcdefghijklmnopqrstuvw012345"       # API secret
token <- get_token(key = key, secret = secret)

## End(Not run)


textrar documentation built on May 29, 2024, 5:52 a.m.