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
TypeScript / JavaScript
Full TypeScript support with type definitions
Go
Idiomatic Go client with context support
Python
Pythonic API with async support
Rust
Async Rust client with tokio
cURL / HTTP
Direct REST API usage examples
Feature Comparison
| Feature | TypeScript | Go | Python | Rust |
|---|---|---|---|---|
| Type Safety | Full | Full | Type hints | Full |
| Async Support | Native | Context | asyncio | tokio |
| Streaming | Yes | Yes | Yes | Yes |
| Auto-retry | Yes | Yes | Yes | Yes |
Core Concepts
All SDKs follow the same patterns:
- Initialize client with API key
- Call methods that map to API endpoints
- 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.