api-integration

v2026.09.24

Connect to REST APIs, handle authentication, and process JSON responses

GitHub
Install command
npx skhub add tatat/api-integration
Markdown
SKILL.md

API Integration

Connect to external REST APIs and process responses.

Capabilities

  • Make HTTP requests (GET, POST, PUT, DELETE)
  • Handle authentication (API keys, OAuth, Bearer tokens)
  • Parse and transform JSON responses
  • Handle pagination and rate limiting

Authentication Methods

MethodHeader Format
API KeyX-API-Key: <key>
BearerAuthorization: Bearer <token>
BasicAuthorization: Basic <base64>

Request Template

import requests

response = requests.get(
    "https://api.example.com/v1/resource",
    headers={"Authorization": "Bearer TOKEN"},
    params={"limit": 100}
)
data = response.json()

Error Handling

  • 4xx: Client errors - check request parameters
  • 5xx: Server errors - implement retry with backoff
  • Timeout: Set reasonable timeouts (30s default)
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Not specified

Source path

skills/api-integration

Default branch

main

Latest commit

0c2aeef

Tree SHA

c1c8c7d