BambooHR SDK
This SDK targets BambooHR's single-company API authentication model.
Authentication
For a single BambooHR customer integration you need:
- A BambooHR account
- The company domain (if your URL is
https://mycompany.bamboohr.com, the domain ismycompany) - A user API key
BambooHR uses HTTP Basic Auth for API key authentication:
- Username: API key
- Password: any non-empty string (commonly
x)
Python Usage
from bamboohr.client import BambooHR
with BambooHR(domain="mycompany", api_key="YOUR_API_KEY") as client:
directory = client.get("/employees/directory")
print(directory)
The client base URL is built as:
https://{domain}.bamboohr.com/api/v1
curl Example
curl -i -u "{API_KEY}:x" "https://{companyDomain}.bamboohr.com/api/v1/employees/directory"
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bamboohr_api-0.1.2.tar.gz
(6.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bamboohr_api-0.1.2.tar.gz.
File metadata
- Download URL: bamboohr_api-0.1.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96ae6d1f316779a8ed3af7a7c07e127dfd9fb3ec8bbbd05beddc1d0b2c7d7c28
|
|
| MD5 |
e7ff630c214770c960cc61cc5531cbbd
|
|
| BLAKE2b-256 |
afc997514fa7bd3ad43fe6bdab1c69d3db1096c4c1dbe8d4c86a879c9e757c3f
|
File details
Details for the file bamboohr_api-0.1.2-py3-none-any.whl.
File metadata
- Download URL: bamboohr_api-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d563f3d5c87b7bc3b6d6dc7896290be26830cd56b718353f83b80b095498dd70
|
|
| MD5 |
c074fe86bd7ea4fdcb0504c6e1bbe6da
|
|
| BLAKE2b-256 |
d3dedabfab0273241d68bc3167f418548461a5a190e5b9aceae6bd2f752ee4b5
|