Client Libraries
ekoDB provides 6 official client libraries for multiple programming languages: Rust, Python, TypeScript, Go, Kotlin, and JavaScript. We strongly recommend using these libraries instead of making direct API calls, as they provide:
- ✅ Type Safety - Strong typing and compile-time checks
- ✅ Automatic Authentication - Handles token management automatically
- ✅ Retry Logic - Automatic retries with exponential backoff
- ✅ Rate Limit Handling - Respects rate limits and retry-after headers
- ✅ Better Developer Experience - Intuitive APIs and comprehensive documentation
- ✅ Connection Pooling - Efficient HTTP connection management
- ✅ Error Handling - Structured error types and clear error messages
Choose Your Language
- 🦀 Rust
- � Python
- 📘 TypeScript
- 📦 JavaScript
- 🟣 Kotlin
- 🔷 Go
cargo add ekodb_client
Resources:
npm install @ekodb/ekodb-client
Resources:
npm install @ekodb/ekodb-client
Resources:
dependencies {
implementation("io.ekodb:ekodb-client-kt:0.4.0")
}
Resources:
go get github.com/ekoDB/ekodb-client-go
Resources:
Quick Start
Here's a quick example using TypeScript:
import { EkoDBClient } from "@ekodb/ekodb-client";
// Create client
const client = new EkoDBClient({
baseURL: "https://{YOUR_SUBDOMAIN}.{ENVIRONMENT}.{PROVIDER}.ekodb.net",
apiKey: "your-api-key"
});
await client.init();
// Insert a record
const result = await client.insert("users", {
name: "John Doe",
email: "john@example.com"
});
console.log("Inserted:", result);
Complete Examples
See the guides below for complete examples in all supported languages (Rust, Python, TypeScript, Go, Kotlin, JavaScript).
Next Steps
- Installation Guide - Detailed installation instructions for each language
- Basic Operations - CRUD operations with client libraries
- GitHub Examples - 129 (client library & direct HTTP examples)
- API Reference - Direct HTTP API documentation
Need Help?
- 🐛 Issues: GitHub Issues
- 💬 Support: app.ekodb.io/support
- 📧 Email: support@ekodb.io