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"
Metadata
Release files for bamboohr-api 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bamboohr_api-0.1.2.tar.gz | 6.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bamboohr_api-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / bamboohr_api-0.1.2.tar.gz
| Download URL | bamboohr_api-0.1.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96ae6d1f316779a8ed3af7a7c07e127dfd9fb3ec8bbbd05beddc1d0b2c7d7c28
|
|
BLAKE2b-256 checksum How to use checksums |
afc997514fa7bd3ad43fe6bdab1c69d3db1096c4c1dbe8d4c86a879c9e757c3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / bamboohr_api-0.1.2-py3-none-any.whl
| Download URL | bamboohr_api-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d563f3d5c87b7bc3b6d6dc7896290be26830cd56b718353f83b80b095498dd70
|
|
BLAKE2b-256 checksum How to use checksums |
d3dedabfab0273241d68bc3167f418548461a5a190e5b9aceae6bd2f752ee4b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for bamboohr-api 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.