get_request {bambooHR} | R Documentation |
Bamboo HR API get request wrapper
Description
Submits get requests to the Bamboo API.
Usage
get_request(url, key = .get_api_key(), verbose = FALSE)
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 |
verbose |
Logical. Should the function provide verbose messaging back on each step? |
Value
A httr::response()
object.
Examples
## Not run:
res <- get_request("https://api.bamboohr.com/api/gateway.php/your_company/v1/employees/0/")
httr::content(res, "text")
## End(Not run)
[Package bambooHR version 0.1.1 Index]