mailerlite

MailerLite API用のGoクライアントライブラリとCLI。購読者、グループ、メールキャンペーンを管理します。

$ go get www.ubuntusoftware.net/pkg/mailerlite

Package Information

Version
v0.1.0
License
MIT
Author
Gerard Webb
Last Updated
12月 16, 2025

Downloads

Pre-built binaries for macOS, Linux, and Windows:

機能

  • 購読者管理 - 購読者の追加、更新、一覧表示、削除
  • グループ - グループの作成とグループメンバーシップの管理
  • フォームとオートメーション - フォームとオートメーションワークフローの一覧表示
  • Webhook - Webhook連携の作成と管理
  • Web3Forms連携 - フォーム送信用のWebhookサーバー

CLIの使い方

# List subscribers
mailerlite subscribers list

# Add a subscriber
mailerlite subscribers add user@example.com "John Doe"

# Show account stats
mailerlite stats

# Start webhook server for Web3Forms
mailerlite server

ライブラリの使い方

import "www.ubuntusoftware.net/pkg/mailerlite"

client := mailerlite.NewClient(apiKey)
subscriber, err := client.AddSubscriber(ctx, "user@example.com", nil)