SDKs & Libraries
Official client libraries for the Leadron API. Each SDK provides idiomatic access to leads, opportunities, partners, communications, and more.
Server SDKs
Node.js, Python, PHP, Ruby, Go
Browser SDK
Forms, tracking, lead capture
Type-safe
Full TypeScript definitions included
Official SDKs
Node.js
@leadron/node
Server-side SDK for Node.js and TypeScript. Full API coverage with type definitions.
import Leadron from "@leadron/node";
const leadron = new Leadron("ldr_live_sk_...");
const lead = await leadron.leads.create({
firstName: "Jane",
lastName: "Smith",
email: "jane@example.com",
});from leadron import Leadron
client = Leadron(api_key="ldr_live_sk_...")
lead = client.leads.create(
first_name="Jane",
last_name="Smith",
email="jane@example.com",
)use Leadron\LeadronClient;
$leadron = new LeadronClient("ldr_live_sk_...");
$lead = $leadron->leads->create([
"firstName" => "Jane",
"lastName" => "Smith",
"email" => "jane@example.com",
]);require "leadron"
Leadron.api_key = "ldr_live_sk_..."
lead = Leadron::Lead.create(
first_name: "Jane",
last_name: "Smith",
email: "jane@example.com"
)Go
github.com/leadron/leadron-go
Go client library with context support and automatic retries.
import "github.com/leadron/leadron-go"
client := leadron.NewClient("ldr_live_sk_...")
lead, err := client.Leads.Create(ctx, &leadron.LeadParams{
FirstName: "Jane",
LastName: "Smith",
Email: "jane@example.com",
})React / Browser
@leadron/js
Lightweight browser SDK for forms, tracking, and lead capture widgets.
import { LeadronForm } from "@leadron/js";
const form = new LeadronForm("ldr_live_pk_...");
form.submit({
firstName: "Jane",
email: "jane@example.com",
source: "website",
});Installation
npm install @leadron/nodepip install leadroncomposer require leadron/leadron-phpgem install leadrongo get github.com/leadron/leadron-gonpm install @leadron/jsCommunity Libraries
Community-maintained libraries are available for additional languages and frameworks. While not officially supported, they follow the same API patterns.
Building an SDK or integration? Open a PR or issue on GitHub to get it listed here.