Skip to main content
modiva.ai
Anmelden
Go logo

Go · Go 1.21+

Go SDK für die Modiva API

Ein idiomatischer, schlanker Go-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

go get modiva.ai/go

Erfordert Go 1.21+. 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.

package main

import (
    "context"
    "log"

    modiva "modiva.ai/go"
)

func main() {
    client, err := modiva.New() // reads MODIVA_API_KEY
    if err != nil {
        log.Fatal(err)
    }
    ctx := context.Background()

    conns, _, err := client.Connections.List(ctx, nil)
    if err != nil {
        log.Fatal(err)
    }

    _, err = client.Social.Posts.Create(ctx, modiva.CreatePostParams{
        ConnectionID: conns[0].ID,
        Text:         "Hello from the Modiva Go SDK!",
    })
    if err != nil {
        log.Fatal(err)
    }
}

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 Go SDK?
Run `go get modiva.ai/go`. It requires Go 1.21+. Then set MODIVA_API_KEY in your environment (create a key in the dashboard) and instantiate the client.
Is the Go SDK free and open source?
Yes — it's MIT-licensed and published on GitHub at modiva-dev/modiva-go. Read the source, file issues and contribute.
Which integrations does the Go 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 / TypeScriptPythonRubyJavaPHP.NET / C#Rust

← Alle Modiva SDKs

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