Learn R Programming

RAhrefs (version 0.1.4)

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

Description

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

Usage

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

Run this code
# NOT RUN {
  rah_auth("ABCDEFGHIJKLMNOPQRST")
# }

Run the code above in your browser using DataLab