getLocations: Get server locations

Description Usage Arguments Value Examples

Description

List locations and the number of pending tests

Usage

1
2
getLocations(server, requestId = NULL, key = Sys.getenv("WPTKEY"),
  dryRun = FALSE, ...)

Arguments

server

A WebPagetest server

requestId

request ID, useful to track asynchronous requests

key

API key (if assigned). Contact the WebPageTest server administrator for a key if required

dryRun

If TRUE just return the RESTful API URL. Defaults to FALSE

...

Additonal function arguments

Value

A list of locations and the number of pending tests at those locations

Examples

1
2
3
4
5
## Not run: 
  WPT <- server()
  locs <- getLocations(WPT)  

## End(Not run)

johndharrison/webpagetestr documentation built on May 19, 2019, 5:14 p.m.