Skip to main content

A Python client library for Voyado Engage API

Project description

Voyado Engage Python Client

A Python client library for interacting with the Voyado Engage API v3.

Features

  • Full support for Voyado Engage API v3
  • Type hints for better IDE support
  • Comprehensive error handling
  • Support for contacts, orders, transactions, and more
  • Async support (coming soon)

Installation

pip install voyado-engage

Quick Start

from voyado import VoyadoClient

# Initialize the client
client = VoyadoClient(
    api_key="your-api-key",
    base_url="https://your-instance.voyado.com",
    user_agent="YourApp/1.0"
)

# Create a contact
contact = client.contacts.create({
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.com",
    "contactType": "Member",
    "countryCode": "SE",
    "preferences": {
        "acceptsEmail": True,
        "acceptsSms": True,
        "acceptsPostal": False
    }
})

# Get contact by ID
contact = client.contacts.get(contact_id="contact-id-here")

# Update contact
client.contacts.update(
    contact_id="contact-id-here",
    data={
        "firstName": "Jane",
        "street": "New Street 123"
    }
)

# Search contacts
results = client.contacts.search(
    email="john.doe@example.com"
)

API Documentation

For full API documentation, please visit Voyado Developer Documentation.

License

This project is licensed under the MIT License - see the 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

voyado_engage-0.1.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

voyado_engage-0.1.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file voyado_engage-0.1.0.tar.gz.

File metadata

  • Download URL: voyado_engage-0.1.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for voyado_engage-0.1.0.tar.gz
Algorithm Hash digest
SHA256 120872ad2af1ac1f2355ddb7e61232d7f60bcb69e3474c4510c386c150480cba
MD5 01c3b3400798a398371ac930143bbd90
BLAKE2b-256 01073149e9416e3d719bf1095918b51a132e79150ac7270116c33d03c994d23b

See more details on using hashes here.

File details

Details for the file voyado_engage-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: voyado_engage-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for voyado_engage-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cc551d8a9b24df2f04097d4d04f373a30a7d0faf1ae15ba6e1790722ec2fbd4
MD5 263c80fb0721cf71a3c14ce73df14944
BLAKE2b-256 fac70354b38d9411bdc415c9bb24eb735afd77672df5e0b9c8193993102873f3

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