Skip to main content
modiva.ai
Iniciar sesión
Ruby logo

Ruby · Ruby 2.7+

SDK de Ruby para la API de Modiva

Un cliente de Ruby sin dependencias para la API social, de ads y CRM de Modiva. Un cliente tipado llega a todas las 38 integraciones y 460+ herramientas en social, ads, CRM y e-commerce, con autenticación, reintentos, paginación e idempotencia gestionados por ti.

Consigue tu clave de APIVer en GitHubLee la documentación

Instalación

gem install modiva

Requiere Ruby 2.7+. Define MODIVA_API_KEY en tu entorno: el cliente la lee automáticamente.

Inicio rápido

Conecta una cuenta en el panel, crea una clave de API y luego publica en pocas líneas.

modiva = Modiva::Client.new  # reads MODIVA_API_KEY

# List connected accounts
connections = modiva.connections.list

# Publish a post (or schedule with scheduled_at)
modiva.social.posts.create(
  connection_id: connections[0]["id"],
  text: "Hello from the Modiva Ruby SDK!"
)

Lo que obtienes

  • Un cliente para todas las 38 integraciones: sin una biblioteca por plataforma.
  • Métodos tipados para posts, comentarios, DM y analíticas, más una superficie de herramientas genérica para cada una de las 460+ herramientas.
  • Autenticación con clave Bearer desde MODIVA_API_KEY; el OAuth del proveedor y la renovación de tokens se gestionan en el servidor.
  • Reintentos automáticos con backoff, creaciones idempotentes y paginación integrada.
  • Con licencia MIT y de código abierto en GitHub.

Preguntas frecuentes

How do I install the Modiva Ruby SDK?
Run `gem install modiva`. It requires Ruby 2.7+. Then set MODIVA_API_KEY in your environment (create a key in the dashboard) and instantiate the client.
Is the Ruby SDK free and open source?
Yes — it's MIT-licensed and published on GitHub at modiva-dev/modiva-ruby. Read the source, file issues and contribute.
Which integrations does the Ruby 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.

Otros lenguajes

Node.js / TypeScriptPythonGoJavaPHP.NET / C#Rust

← Todos los SDK de Modiva

Empieza a construir con Ruby
Gratis para empezar · Primeras 3 cuentas conectadas gratis · Clave de API en un clic
Crea una cuenta gratis
Ruby SDK — Modiva