Skip to main content
modiva.ai
Anmelden
Rust logo

Rust · async / Tokio

Rust SDK für die Modiva API

Ein typisierter, asynchroner (Tokio) Rust-Client für die einheitliche Modiva-API. 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üsselAuf GitHub ansehenDokumentation lesen

Installation

cargo add modiva

Erfordert async / Tokio. Setze MODIVA_API_KEY in deiner Umgebung — der Client liest ihn automatisch.

Schnellstart

Verbinde ein Konto im Dashboard, erstelle einen API-Schlüssel und veröffentliche dann mit wenigen Zeilen.

use modiva::{CreatePost, Modiva};

#[tokio::main]
async fn main() -> Result<(), modiva::ModivaError> {
    let modiva = Modiva::from_env()?; // reads MODIVA_API_KEY

    let connections = modiva.connections().list().await?;

    if let Some(conn) = connections.first() {
        let post = CreatePost::new(&conn.id)
            .text("Hello from the Modiva Rust SDK!");
        modiva.social().posts().create(&post).await?;
    }

    Ok(())
}

Was du bekommst

  • Ein Client für alle 38 Integrationen — keine Bibliothek pro Plattform.
  • Typisierte Methoden für Posts, Kommentare, DMs und Analytik plus eine generische Tool-Oberfläche für jedes der 460+ Tools.
  • Bearer-Key-Authentifizierung aus MODIVA_API_KEY; Anbieter-OAuth und Token-Aktualisierung werden serverseitig übernommen.
  • Automatische Retries mit Backoff, idempotente Creates und integrierte Pagination.
  • MIT-lizenziert und Open Source auf GitHub.

Häufig gestellte Fragen

How do I install the Modiva Rust SDK?
Run `cargo add modiva`. It requires async / Tokio. Then set MODIVA_API_KEY in your environment (create a key in the dashboard) and instantiate the client.
Is the Rust SDK free and open source?
Yes — it's MIT-licensed and published on GitHub at modiva-dev/modiva-rust. Read the source, file issues and contribute.
Which integrations does the Rust SDK support?
All of them. One client reaches every one of the 38 integrations — Instagram, TikTok, Google Ads, HubSpot, Shopify and more — through the same typed methods and a generic tool surface.

Andere Sprachen

Node.js / TypeScriptPythonGoRubyJavaPHP.NET / C#

← Alle Modiva SDKs

Beginne mit Rust zu bauen
Kostenlos starten · Erste 3 verbundene Konten gratis · API-Schlüssel mit einem Klick
Kostenloses Konto erstellen
Rust SDK — Modiva