wef_call.Rd
Call API endpoint.
wef_call(url, pages = 1, n = 25, quiet = !interactive(), sleep = 0.5)
url | URL to call. |
---|---|
pages | Number of pages to retrieve. |
n | Number of results per page. |
quiet | If |
sleep | Pause in seconds to mark between each API call ( |
A list
.
acc <- wef_sf_accounts() rand_acc <- sample(acc[[1]]$attributes$api_endpoint, 1) data <- wef_call(rand_acc)