build_url {bambooHR} | R Documentation |
Build URL Endpoints with Company Domain and API Version
Description
Used to generate the base API request URL. URLs will start with "https://api.bamboohr.com/api/gateway.php/company_domain" which forms the base URL where a query string can then be appended to make the full request URL.
Usage
build_url(
company_domain = .get_company_name(),
api_version = "v1",
base_url = "https://api.bamboohr.com/api/gateway.php"
)
Arguments
company_domain |
The subdomain used to access BambooHR. If you access BambooHR at https://mycompany.bamboohr.com, then the company_domain is "mycompany".
Default value is obtained from |
api_version |
Version of API to use to make request. Default is "v1". |
base_url |
URL to BambooHR API. Default is "https://api.bamboohr.com/api/gateway.php". |
Value
character vector of URL with API version and company domain to give the base URL for API requests.
[Package bambooHR version 0.1.1 Index]