Skip to main content

SDKs Overview

Linktor provides official SDKs for 7 programming languages, making it easy to integrate with any tech stack.

Available SDKs​

LanguagePackageVersionDocs
TypeScript@linktor/sdk1.0.0API Reference
Pythonlinktor1.0.0API Reference
Golinktor-go1.0.0API Reference
Javaio.linktor:linktor-sdk1.0.0API Reference
Rustlinktor1.0.0API Reference
.NETLinktor.SDK1.0.0API Reference
PHPlinktor/linktor-php1.0.0API 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: