Skip to main content

Python SDK for Oxinion Marketing Exchange

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

OMX SDK

Python SDK for Oxinion Marketing Exchange (OMX) - A comprehensive toolkit for geotrigger marketing, email campaigns, and webhook management.

Installation

pip install omx-sdk

Quick Start

import asyncio
import os
from omx_sdk import OMXClient

async def main():
    # Initialize client
    client = OMXClient(
        api_key=os.getenv("OMX_API_KEY"),
        secret_key=os.getenv("OMX_SECRET_KEY"),
    )

    # Authenticate
    await client.authenticate()

    # Create a geotrigger
    geotrigger = await client.geotriggers.create(
        name="Coffee Shop Downtown",
        latitude=40.7128,
        longitude=-74.0060,
        radius=100
    )

    # Send email
    email_result = await client.email.send(
        to=["user@example.com"],
        subject="Welcome to OMX!",
        content="<h1>Hello from OMX SDK</h1>"
    )

    # Create webhook
    webhook = await client.webhooks.create(
        url="https://your-app.com/webhooks/omx",
        events=["geotrigger.entered", "email.sent"]
    )

    # Clean up
    await client.close()

if __name__ == "__main__":
    asyncio.run(main())

Features

  • 🌍 Geotrigger Management - Create and manage location-based triggers
  • 📧 Email Campaigns - Send targeted email communications
  • 🔗 Webhook Integration - Real-time event notifications
  • 🔐 Secure Authentication - API key and secret management
  • Async Support - Built with asyncio for high performance

Configuration

Set your credentials as environment variables:

export OMX_API_KEY="your_api_key"
export OMX_SECRET_KEY="your_secret_key"

Documentation

For detailed documentation and API reference, visit: https://github.com/oxinion/omx-sdk

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

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

omx_sdk-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

omx_sdk-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file omx_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: omx_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for omx_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a0013e9b4d5b04363c79b621d3c04387d24131704cb5d33ebbdda1ce083796c4
MD5 547a97e4bfd382819d64a16ed172c0f6
BLAKE2b-256 70c90f4ecef2686934346d836bf80ce4bcc83cf6068d005ce3ce0102af93e775

See more details on using hashes here.

File details

Details for the file omx_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: omx_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for omx_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b0f268e826468c98da801a3bb2f6aeca555a2faeaef3df2abd597aaaa37f3dc
MD5 7a0be0108504d835cdc16db26e4eeb75
BLAKE2b-256 a4bfed65c8a3f432ab7aa65071c41e59f61512add6ca7bc8884c72c81326c90d

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