bamboohr-sdk-patterns

Featured

Apply production-ready BambooHR API patterns for TypeScript and Python. Use when implementing BambooHR integrations, building reusable clients, or establishing team coding standards for BambooHR REST API. Trigger with phrases like "bamboohr SDK patterns", "bamboohr best practices", "bamboohr code patterns", "idiomatic bamboohr", "bamboohr client wrapper".

AI & Automation 2,266 stars 315 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 SDK Patterns ## Overview Production-ready patterns for the BambooHR REST API. BambooHR has no official Node.js SDK — you call the API directly via `fetch` or `axios`. These patterns wrap the raw HTTP calls into type-safe, retry-aware, multi-tenant-ready code. ## Prerequisites - Completed `bamboohr-install-auth` setup - Familiarity with async/await and TypeScript generics ## Instructions ### Step 1: Type-Safe Client with Error Handling ```typescript // src/bamboohr/client.ts import 'dotenv/config'; export interface BambooHRConfig { companyDomain: string; apiKey: string; timeoutMs?: number; } export interface BambooEmployee { id: string; firstName: string; lastName: string; displayName: string; jobTitle: string; department: string; division: string; workEmail: string; location: string; status: string; hireDate: string; supervisor: string; employeeNumber: string; photoUrl?: string; } export class BambooHRClient { private base: string; private auth: string; private timeout: number; constructor(config: BambooHRConfig) { this.base = `https://api.bamboohr.com/api/gateway.php/${config.companyDomain}/v1`; this.auth = `Basic ${Buffer.from(`${config.apiKey}:x`).toString('base64')}`; this.timeout = config.timeoutMs ?? 30_000; } async request<T>(method: string, path: string, body?: unknown): Promise<T> { const controller = new AbortController(); const timer = setTimeout(() => controller.abort(), this....

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

bamboohr-reference-architecture

Implement BambooHR reference architecture for production HR data pipelines. Use when designing new BambooHR integrations, building employee sync systems, or establishing architecture standards for BambooHR-powered applications. Trigger with phrases like "bamboohr architecture", "bamboohr design", "bamboohr project structure", "bamboohr system design", "bamboohr pipeline".

2,266 Updated today
jeremylongshore
AI & Automation Featured

bamboohr-local-dev-loop

Configure BambooHR local development with hot reload, mocking, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with BambooHR API. Trigger with phrases like "bamboohr dev setup", "bamboohr local development", "bamboohr dev environment", "develop with bamboohr", "bamboohr mock".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-sdk-patterns

Apply production-ready @hubspot/api-client SDK patterns for TypeScript. Use when implementing HubSpot integrations, building typed wrappers, or establishing team standards for HubSpot CRM operations. Trigger with phrases like "hubspot SDK patterns", "hubspot best practices", "hubspot typed client", "hubspot api-client wrapper", "idiomatic hubspot".

2,266 Updated today
jeremylongshore
AI & Automation Featured

apollo-sdk-patterns

Apply production-ready Apollo.io SDK patterns. Use when implementing Apollo integrations, refactoring API usage, or establishing team coding standards. Trigger with phrases like "apollo sdk patterns", "apollo best practices", "apollo code patterns", "idiomatic apollo", "apollo client wrapper".

2,266 Updated today
jeremylongshore
AI & Automation Featured

abridge-sdk-patterns

Apply production-ready patterns for Abridge clinical AI integration. Use when building reusable Abridge client wrappers, implementing HIPAA-compliant error handling, or establishing team coding standards for healthcare AI. Trigger: "abridge SDK patterns", "abridge best practices", "abridge code patterns".

2,266 Updated today
jeremylongshore