Submits get requests to the Bamboo API.
Arguments
- url
Character url of the get request.
- key
Character api key for bambooHR. Register in your account, see authentication for details. Default value is obtained from
options("bambooHR.api_key")
. This can also be set in the config file usingconfig_setup("api key", "company domain")
.- verbose
Logical. Should the function provide verbose messaging back on each step?
Value
A httr::response()
object.
Examples
if (FALSE) {
res <- get_request("https://api.bamboohr.com/api/gateway.php/your_company/v1/employees/0/")
httr::content(res, "text")
}