Node.js / TypeScript · Node 18+
SDK Node.js / TypeScript per l'API Modiva
Il client Node.js e TypeScript tipizzato — l'SDK di riferimento per l'API di Modiva. Un client tipizzato raggiunge tutte le 38 integrazioni e i 460+ strumenti su social, ads, CRM ed e-commerce — autenticazione, retry, paginazione e idempotenza gestiti per te.
Installazione
npm i @modiva/nodeRichiede Node 18+. Imposta MODIVA_API_KEY nel tuo ambiente — il client la legge automaticamente.
Avvio rapido
Collega un account nella dashboard, crea una chiave API, poi pubblica in poche righe.
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: "Hello from the Modiva Node SDK 👋",
});Cosa ottieni
- Un client per tutte le 38 integrazioni — nessuna libreria per piattaforma.
- Metodi tipizzati per post, commenti, DM e analitiche, più una superficie di strumenti generica per ognuno dei 460+ strumenti.
- Autenticazione con Bearer key da
MODIVA_API_KEY; OAuth del provider e refresh dei token gestiti lato server. - Retry automatici con backoff, creazioni idempotenti e paginazione integrata.
- Con licenza MIT e open source su GitHub.
Domande frequenti
How do I install the Modiva Node.js / TypeScript SDK?
Run `npm i @modiva/node`. It requires Node 18+. Then set MODIVA_API_KEY in your environment (create a key in the dashboard) and instantiate the client.
Is the Node.js / TypeScript SDK free and open source?
Yes — it's MIT-licensed and published on GitHub at modiva-dev/modiva-node. Read the source, file issues and contribute.
Which integrations does the Node.js / TypeScript 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.
Altri linguaggi
Inizia a costruire con Node.js / TypeScript
Gratis per iniziare · Primi 3 account collegati gratuiti · Chiave API con un clic
Crea un account gratuito