Official SDKs
Raily provides official SDKs to make integration easy. Our SDKs handle authentication, retries, rate limiting, and error handling automatically.Quick Comparison
| Feature | JavaScript | Python |
|---|---|---|
| Async/Await | Yes | Yes |
| TypeScript Types | Built-in | Type hints |
| Auto-retry | Yes | Yes |
| Rate Limit Handling | Automatic | Automatic |
| Streaming | Yes | Yes |
Choosing an SDK
Use JavaScript/TypeScript if:
- Building Node.js backend services
- Creating serverless functions (Lambda, Vercel)
- Working with modern JavaScript frameworks
- Need TypeScript type safety
Use Python if:
- Building ML/AI pipelines
- Working with data science tools
- Using frameworks like FastAPI, Django, Flask
- Integrating with Jupyter notebooks
Common Patterns
Both SDKs follow similar patterns:- JavaScript
- Python
Error Handling
Both SDKs provide typed exceptions:- JavaScript
- Python
Environment Configuration
Both SDKs support multiple configuration methods:Environment Variables
Direct Configuration
- JavaScript
- Python