rah_auth: Authorize your Ahrefs API connection with a API Key (Token)

Description Usage Arguments Value Examples

View source: R/auth.R

Description

Authorize your Ahrefs API connection with a API Key (Token)

Usage

1
rah_auth(api_key, verbose = TRUE)

Arguments

api_key

character string. Valid API key obtained at: https://ahrefs.com/api/profile

verbose

logical, defaults to TRUE. Set to FALSE to stop printing status in the console

Value

invisibly returns API token into environment variable AHREFS_AUTH_TOKEN and prints the status

Examples

1
2
3
4
## Not run: 
  rah_auth("ABCDEFGHIJKLMNOPQRST")

## End(Not run)

RAhrefs documentation built on July 28, 2019, 9:03 a.m.