Skip to main content

Python client for the LoopMessage iMessage API

Project description

PyLoopMessage

A modern Python client for the LoopMessage iMessage API.

Features

  • ✨ Full support for LoopMessage REST API
  • 🔒 Type-safe with comprehensive type hints
  • 📱 Send messages, reactions, and audio messages
  • 👥 Support for group messaging
  • 📞 Webhook handling for real-time events
  • 🧪 Async/await support
  • 🛡️ Built-in error handling and retries

Installation

pip install pyloopmessage

Quick Start

from pyloopmessage import LoopMessageClient

# Initialize the client
client = LoopMessageClient(
    authorization_key="your_auth_key",
    secret_key="your_secret_key"
)

# Send a message
response = await client.send_message(
    recipient="+1234567890",
    text="Hello from PyLoopMessage!",
    sender_name="YourSenderName"
)

print(f"Message sent with ID: {response.message_id}")

API Support

Sending Messages

  • ✅ Send text messages to individuals
  • ✅ Send messages to groups
  • ✅ Send audio messages
  • ✅ Send reactions
  • ✅ Message effects (slam, loud, gentle, etc.)
  • ✅ Attachments support
  • ✅ Reply-to functionality

Message Status

  • ✅ Check message status
  • ✅ Webhook event handling
  • ✅ Real-time status updates

Advanced Features

  • ✅ Typing indicators
  • ✅ Read status
  • ✅ Sandbox mode
  • ✅ Error handling with detailed error codes

Documentation

For detailed documentation and examples, visit our GitHub repository.

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyloopmessage-0.3.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyloopmessage-0.3.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file pyloopmessage-0.3.0.tar.gz.

File metadata

  • Download URL: pyloopmessage-0.3.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for pyloopmessage-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e1f0202bcb6a104bd771f7adbbebca5284df15d19560817c1f626a133b0ff88f
MD5 99f0d2bf1b38db2bac305d933d8fe85d
BLAKE2b-256 e947d7cb4e9a8f7cbe0e6d9d2f007cdc1d67e1feeb8dc01582a093e9661a309c

See more details on using hashes here.

File details

Details for the file pyloopmessage-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyloopmessage-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for pyloopmessage-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0205c94f4d7187b71e33e91a0a8e0dbf49df2f4ec38b986044bd880316433234
MD5 52c50d83d8c1604009d2ea1fb9502b39
BLAKE2b-256 35d06dfb5b4e92c201e1e0b4a4499c6db47d14a28755515efb9ef25c1fa5bfa4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page