Skip to main content

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 is mycompany)
  • 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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bamboohr_api-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

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

Hashes for bamboohr_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 96ae6d1f316779a8ed3af7a7c07e127dfd9fb3ec8bbbd05beddc1d0b2c7d7c28
MD5 e7ff630c214770c960cc61cc5531cbbd
BLAKE2b-256 afc997514fa7bd3ad43fe6bdab1c69d3db1096c4c1dbe8d4c86a879c9e757c3f

See more details on using hashes here.

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

Hashes for bamboohr_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d563f3d5c87b7bc3b6d6dc7896290be26830cd56b718353f83b80b095498dd70
MD5 c074fe86bd7ea4fdcb0504c6e1bbe6da
BLAKE2b-256 d3dedabfab0273241d68bc3167f418548461a5a190e5b9aceae6bd2f752ee4b5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page