juicebox-sdk-patterns
FeaturedApply production Juicebox SDK patterns. Trigger: "juicebox patterns", "juicebox best practices".
AI & Automation 2,266 stars
315 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Juicebox SDK Patterns
## Overview
Production-ready patterns for the Juicebox AI-powered people search API. Juicebox provides REST endpoints for searching professional profiles and enriching candidate data. The API authenticates via `JUICEBOX_API_KEY` and returns structured profile objects with LinkedIn URLs as natural dedup keys. A singleton client centralizes rate-limit handling across search and enrich endpoints.
## Singleton Client
```typescript
const JUICEBOX_BASE = 'https://api.juicebox.work/v1';
let _client: JuiceboxClient | null = null;
export function getClient(): JuiceboxClient {
if (!_client) {
const apiKey = process.env.JUICEBOX_API_KEY;
if (!apiKey) throw new Error('JUICEBOX_API_KEY must be set — get it from juicebox.work/settings');
_client = new JuiceboxClient(apiKey);
}
return _client;
}
class JuiceboxClient {
private headers: Record<string, string>;
constructor(apiKey: string) { this.headers = { 'Authorization': `Bearer ${apiKey}`, 'Content-Type': 'application/json' }; }
async search(query: string, limit = 20): Promise<SearchResponse> {
const res = await fetch(`${JUICEBOX_BASE}/search`, {
method: 'POST', headers: this.headers, body: JSON.stringify({ query, limit }) });
if (!res.ok) throw new JuiceboxError(res.status, await res.text()); return res.json();
}
async enrich(linkedinUrl: string): Promise<Profile> {
const res = await fetch(`${JUICEBOX_BASE}/enrich`, {
method: 'POST', headers: this.headers, body:...
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 Solid
juicebox-hello-world
Create a minimal Juicebox people search example. Trigger: "juicebox hello world", "first people search", "test juicebox".
2,266 Updated today
jeremylongshore AI & Automation Featured
juicebox-reference-architecture
Implement Juicebox reference architecture. Trigger: "juicebox architecture", "recruiting platform design".
2,266 Updated today
jeremylongshore AI & Automation Featured
juicebox-data-handling
Juicebox data privacy and GDPR. Trigger: "juicebox data privacy", "juicebox gdpr".
2,266 Updated today
jeremylongshore AI & Automation Featured
juicebox-security-basics
Apply Juicebox security best practices. Trigger: "juicebox security", "juicebox api key security".
2,266 Updated today
jeremylongshore AI & Automation Featured
juicebox-performance-tuning
Optimize Juicebox performance. Trigger: "juicebox performance", "optimize juicebox".
2,266 Updated today
jeremylongshore