Skip to main content
modiva.ai
Anmelden

Entwickler-SDKs

Modiva SDKs — ein API-Client für jede Sprache

Offizielle Open-Source-SDKs für Node.js, Python, Go, Ruby, Java, PHP, .NET und Rust. Ein typisierter Client erreicht alle 38 Integrationen und 460+ Tools über Social, Ads, CRM und E-Commerce — Authentifizierung, Retries, Pagination und Idempotenz werden für dich übernommen.

Hol dir deinen API-SchlüsselDokumentation lesenAuf GitHub durchstöbern
8
Sprachen
38
Integrationen
460+
Tools
MIT
Open Source

Wähle deine Sprache

Jedes SDK folgt demselben Vertrag, sodass Doku und Beispiele über Sprachen hinweg übertragbar sind. Installiere ein Paket und du hast die gesamte API.

Node.js / TypeScript logo
Node 18+
Node.js / TypeScript
npm i @modiva/node
Node.js SDK-Anleitung →
Python logo
Python 3.9+
Python
pip install modiva
Python SDK-Anleitung →
Go logo
Go 1.21+
Go
go get modiva.ai/go
Go SDK-Anleitung →
Ruby logo
Ruby 2.7+
Ruby
gem install modiva
Ruby SDK-Anleitung →
Java logo
Java 17+
Java
ai.modiva:sdk:0.1.0
Java SDK-Anleitung →
PHP logo
PHP 8.1+
PHP
composer require modiva/sdk
PHP SDK-Anleitung →
.NET / C# logo
net8.0
.NET / C#
dotnet add package Modiva
.NET SDK-Anleitung →
Rust logo
async / Tokio
Rust
cargo add modiva
Rust SDK-Anleitung →

Schnellstart

Installiere das SDK, setze MODIVA_API_KEY, und du veröffentlichst mit wenigen Zeilen. Hier ist derselbe Ablauf in Node.js und Python.

Node.js / TypeScript
import { Modiva } from "@modiva/node";

const modiva = new Modiva(); // reads MODIVA_API_KEY

// List connected accounts
const connections = await modiva.connections.list();

// Publish a post (or schedule with scheduledAt)
await modiva.social.posts.create({
  connectionId: connections[0].id,
  text: "Shipped via the Modiva SDK",
});
Python
import modiva

client = modiva.Modiva()  # reads MODIVA_API_KEY

# List connected accounts
connections = client.connections.list()

# Publish a post (or schedule with scheduled_at)
client.social.posts.create(
    connection_id=connections[0]["id"],
    text="Shipped via the Modiva SDK",
)

Warum ein Modiva SDK verwenden

Die SDKs umhüllen eine einheitliche REST-API. Statt für jede Plattform einen Client, einen OAuth-Flow und Token-Aktualisierung zu pflegen, installierst du ein Paket und lässt Modiva den Rest normalisieren.

Ein Client, jede Integration
Installiere ein einziges Paket und erreiche alle 38 Integrationen — Social, Ads, CRM und E-Commerce. Keine separate Bibliothek pro Plattform.
Typisiert & idiomatisch
Für jede Sprache handgeschrieben — typisierte Methoden, native Fehler und die Konventionen, die dein Ökosystem erwartet, kein generierter Wrapper.
Authentifizierung für dich erledigt
Bearer-Key-Authentifizierung aus MODIVA_API_KEY, automatische Token-Aktualisierung auf dem Server und OAuth-as-a-Service, sodass dein Code niemals Anbieter-Secrets berührt.
Retries & Pagination integriert
429 und 5xx werden mit exponentiellem Backoff unter Beachtung von Retry-After wiederholt; Create-Aufrufe sind idempotent; List-Endpunkte paginieren automatisch.
Vollständige Tool-Oberfläche
Typisierte Helfer für gängige Aktionen plus ein generischer tools.execute()-Ausweg für jedes der 460+ Tools im Katalog.
MIT-lizenziert & offen
Jedes SDK, das CLI und der Chat-Adapter sind Open Source auf GitHub. Lies den Code, öffne Issues, sende PRs.

CLI & Chat-Adapter

Über die Sprach-SDKs hinaus umfasst das Toolkit eine Kommandozeilen-Schnittstelle und einen Chat-Adapter — dieselbe API, andere Oberfläche.

Modiva CLI
npm i -g modiva
Manage connections, posts and the full tool surface from your terminal.
Chat adapter
npm i @modiva/chat-adapter
One bot, every messaging surface — Instagram, Messenger, WhatsApp, Telegram, X and Discord behind one handler.

Häufig gestellte Fragen

Which languages does Modiva have an SDK for?
Modiva ships official, open-source SDKs for Node.js / TypeScript, Python, Go, Ruby, Java, PHP, .NET / C# and Rust — eight languages, all following the same contract. A command-line interface and a chat adapter round out the toolkit.
Are the SDKs free and open source?
Yes. Every Modiva SDK, the CLI and the chat adapter are MIT-licensed and published on GitHub at github.com/modiva-dev. You can read the source, file issues and contribute.
Do I need a different SDK for each integration?
No — that's the point. One SDK is a single client for all 38 integrations. Instagram, TikTok, Google Ads, HubSpot, Shopify and every other platform are reached through the same typed methods and the generic tool surface.
How do I authenticate?
Create an API key in the dashboard (MCP keys), then set MODIVA_API_KEY in your environment. The SDK reads it automatically, or you can pass it to the client constructor. Provider OAuth and token refresh are handled by Modiva — your code never sees provider credentials.
Can I use the Modiva API without an SDK?
Yes. Everything is available over a plain REST API, and AI agents can call the same capabilities through the hosted MCP server. The SDKs are a typed convenience layer on top of the same endpoints.
What if my language isn't listed?
Any HTTP client works against the REST API — the SDKs simply add types, retries and pagination. The OpenAPI spec and llms.txt in the docs make it straightforward to generate or hand-roll a client.

Weiter erkunden

API-Doku →MCP-Server →Alle Integrationen →Social-Media-API →
Bring deine erste Integration heute live
Kostenlos starten · Erste 3 verbundene Konten gratis · API-Schlüssel mit einem Klick
Kostenloses Konto erstellen
SDKs — ein API-Client für jede Sprache — Modiva