SDKs Overview
Linktor provides official SDKs for 7 programming languages, making it easy to integrate with any tech stack.
Available SDKs
| Language | Package | Version | Docs |
|---|---|---|---|
| TypeScript | @linktor/sdk | 1.0.0 | API Reference |
| Python | linktor | 1.0.0 | API Reference |
| Go | linktor-go | 1.0.0 | API Reference |
| Java | io.linktor:linktor-sdk | 1.0.0 | API Reference |
| Rust | linktor | 1.0.0 | API Reference |
| .NET | Linktor.SDK | 1.0.0 | API Reference |
| PHP | linktor/linktor-php | 1.0.0 | API Reference |
Features
All SDKs provide:
- Full API Coverage: Access all Linktor endpoints
- Type Safety: Strong typing for IDE support and error prevention
- WebSocket Support: Real-time message streaming
- Automatic Retries: Built-in retry logic for transient failures
- Error Handling: Detailed error types and messages
Quick Comparison
// TypeScript
const client = new Linktor({ apiKey: 'YOUR_API_KEY' })
await client.messages.send({ channelId, to, content: 'Hello!' })
# Python
client = Linktor(api_key='YOUR_API_KEY')
client.messages.send(channel_id=channel_id, to=to, content='Hello!')
// Go
client := linktor.New("YOUR_API_KEY")
client.Messages.Send(ctx, channelID, to, "Hello!")
// Java
Linktor client = new Linktor("YOUR_API_KEY");
client.messages().send(channelId, to, "Hello!");
// Rust
let client = Client::new("YOUR_API_KEY");
client.messages().send(channel_id, to, "Hello!").await?;
// .NET
var client = new LinktorClient("YOUR_API_KEY");
await client.Messages.SendAsync(channelId, to, "Hello!");
// PHP
$client = new Client('YOUR_API_KEY');
$client->messages->send($channelId, $to, 'Hello!');
Installation
Choose your language and follow the installation guide: