Official SDKs
OathNet provides official client libraries to simplify API integration:Python SDK
pip install oathnetAsync support, type hints, and comprehensive error handlingJavaScript SDK
npm install oathnetTypeScript support, browser and Node.js compatibleGo SDK
go get github.com/oathnet/oathnet-goIdiomatic Go with context supportCLI Tool
npx oathnet or go installCommand-line interface for all API operationscURL Examples
Copy-paste examples for quick testing
Quick Comparison
| Feature | Python | JavaScript | Go | CLI |
|---|---|---|---|---|
| Async Support | ✓ | ✓ | ✓ | - |
| Type Safety | Type hints | TypeScript | Native | - |
| Auto-retry | ✓ | ✓ | ✓ | ✓ |
| Pagination Helpers | ✓ | ✓ | ✓ | ✓ |
| JSON Output | ✓ | ✓ | ✓ | ✓ |
Installation
Quick Start
Common Features
Authentication
Error Handling
SDKs provide typed exceptions:Pagination
SDKs support cursor-based pagination:Rate Limiting
Built-in rate limiting respects API quotas:SDK vs Direct API
| Use Case | Recommendation |
|---|---|
| Quick integration | SDK |
| Custom HTTP client | Direct API |
| Unsupported language | Direct API |
| Maximum control | Direct API |
| Type safety | SDK |
| Auto-retry | SDK |
Community SDKs
Community-maintained libraries (not officially supported):| Language | Package | Maintainer |
|---|---|---|
| Ruby | oathnet-ruby | @community |
| PHP | oathnet/php-sdk | @community |
| Rust | oathnet-rs | @community |