bamboohr-hello-world

Featured

Create a minimal working BambooHR example — fetch employee directory and single employee. Use when starting a new BambooHR integration, testing your setup, or learning basic BambooHR REST API patterns. Trigger with phrases like "bamboohr hello world", "bamboohr example", "bamboohr quick start", "simple bamboohr code", "first bamboohr call".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# BambooHR Hello World ## Overview Minimal working examples for the three most common BambooHR API operations: fetch the employee directory, get a single employee by ID, and run a custom report. ## Prerequisites - Completed `bamboohr-install-auth` setup - `BAMBOOHR_API_KEY` and `BAMBOOHR_COMPANY_DOMAIN` env vars set ## Instructions ### Step 1: Fetch Employee Directory ```typescript import 'dotenv/config'; const COMPANY = process.env.BAMBOOHR_COMPANY_DOMAIN!; const API_KEY = process.env.BAMBOOHR_API_KEY!; const BASE = `https://api.bamboohr.com/api/gateway.php/${COMPANY}/v1`; const AUTH = `Basic ${Buffer.from(`${API_KEY}:x`).toString('base64')}`; // GET /employees/directory — returns all active employees const dirRes = await fetch(`${BASE}/employees/directory`, { headers: { Authorization: AUTH, Accept: 'application/json' }, }); const directory = await dirRes.json(); console.log(`Company has ${directory.employees.length} employees`); for (const emp of directory.employees.slice(0, 5)) { console.log(` ${emp.displayName} — ${emp.jobTitle} (${emp.department})`); } ``` **Directory response shape:** ```json { "fields": [ { "id": "displayName", "type": "text", "name": "Display Name" }, { "id": "jobTitle", "type": "text", "name": "Job Title" } ], "employees": [ { "id": "123", "displayName": "Jane Smith", "firstName": "Jane", "lastName": "Smith", "jobTitle": "Software Engineer", "department": "Engineering", "loc...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category