auth_pagespeed: Authorize your Pagespeed Insights API with a API Key (Token)

Description Usage Arguments Value Examples

View source: R/auth.R

Description

Authorize your Pagespeed Insights API with a API Key (Token)

Usage

1
auth_pagespeed(api_key, verbose = TRUE)

Arguments

api_key

string. Token acquired on https://console.developers.google.com/ page.

verbose

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

Value

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

Examples

1
2
3
4
## Not run: 
auth_pagespeed("12345")

## End(Not run)

Leszek-Sieminski/pagespeedParseR documentation built on May 12, 2021, 2:29 p.m.