Description Usage Arguments Value Examples
Authorize your Pagespeed Insights API with a API Key (Token)
1 | auth_pagespeed(api_key, verbose = TRUE)
|
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 |
invisibly returns API token into environment variable PAGESPEED_API_KEY and prints the status
1 2 3 4 | ## Not run:
auth_pagespeed("12345")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.