SDKs

Official client libraries for Refyne

Refyne provides official SDKs for popular languages. Each SDK is a thin wrapper around the REST API, providing type safety and convenience methods.

Available SDKs

Feature Comparison

FeatureTypeScriptGoPythonRust
Type SafetyFullFullType hintsFull
Async SupportNativeContextasynciotokio
StreamingYesYesYesYes
Auto-retryYesYesYesYes

Core Concepts

All SDKs follow the same patterns:

  1. Initialize client with API key
  2. Call methods that map to API endpoints
  3. Handle responses with typed data

REST API

Don't see your language? The REST API is simple to use directly:

curl -X POST https://api.refyne.uk/api/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "...", "schema": {...}}'

See the API Reference for full endpoint documentation.