Skip to main content

Avoma Python Client

An unofficial async Python client for the Avoma API.

Installation

pip install avoma-client

Or with Poetry:

poetry add avoma-client

Usage

import asyncio
from avoma import AvomaClient
from datetime import datetime, timedelta

async def main():
    # Initialize the client with your API key
    client = AvomaClient("your-api-key")

    # Get meetings from the last 7 days
    now = datetime.utcnow()
    seven_days_ago = now - timedelta(days=7)

    meetings = await client.meetings.list(
        from_date=seven_days_ago.isoformat(),
        to_date=now.isoformat()
    )

    for meeting in meetings.results:
        print(f"Meeting: {meeting.subject} at {meeting.start_at}")

        # Get meeting insights if available
        if meeting.state == "completed":
            insights = await client.meetings.get_insights(meeting.uuid)
            print(f"Meeting insights: {insights}")

asyncio.run(main())

Logging

The client includes built-in logging functionality. You can configure logging directly through the client:

import logging
from avoma import AvomaClient

# Set log level directly in the client constructor
client = AvomaClient(
    api_key="your-api-key",
    log_level=logging.DEBUG,
    logger_name="my-app.avoma"  # Optional custom logger name
)

For more advanced logging configuration:

import logging
import sys
from avoma import AvomaClient, create_logger

# Create a client with custom logging
client = AvomaClient("your-api-key", log_level=logging.DEBUG)

# Customize the logger with a specific handler if needed
handler = logging.FileHandler("avoma.log")
handler.setFormatter(logging.Formatter("%(asctime)s %(levelname)s: %(message)s"))

# Replace default handler with custom one
for h in client.logger.handlers:
    client.logger.removeHandler(h)
client.logger.addHandler(handler)

The logs include:

  • API request and response details (with sensitive data redacted)
  • Client lifecycle events
  • API call information

This is useful for debugging API interactions and understanding the client's behavior.

Features

  • Fully async API using aiohttp
  • Type hints and Pydantic models for all responses
  • Comprehensive test coverage
  • Detailed logging for debugging
  • Support for all Avoma API endpoints:
    • Meetings
    • Recordings
    • Transcriptions
    • Smart Categories
    • Templates
    • Notes
    • Meeting Sentiments
    • Users
    • Calls
    • Scorecards
    • Webhooks

Development

  1. Clone the repository
  2. Install dependencies:
poetry install
  1. Run tests:
poetry run pytest

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License

Metadata

Release files for avoma-client 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for avoma-client 0.1.3
File Size Uploaded Provenance Actions
avoma_client-0.1.3.tar.gz 16.9 kB Without provenance Details for avoma_client-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for avoma-client 0.1.3
File Interpreter ABI Platform Actions
avoma_client-0.1.3-py3-none-any.whl Python 3 none any Details for avoma_client-0.1.3-py3-none-any.whl

Total release size: 40.8 kB

Release files / avoma_client-0.1.3.tar.gz

Download URL avoma_client-0.1.3.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
34807fd9568cdd5d5f215726f45e1d601a0f900166bf2b59440f4056cc1e366d
BLAKE2b-256 checksum
How to use checksums
a7477a52417c2fe085222704163b26e5409f3f185de576d87caafa977da76d3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.1 Darwin/23.6.0

Release files / avoma_client-0.1.3-py3-none-any.whl

Download URL avoma_client-0.1.3-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbcb337156e0bafde6e404ccdad68b756a4a65dfb700b2df912a60deadf419c1
BLAKE2b-256 checksum
How to use checksums
80b6ff294542e4a5f26537b2971070496b33ea284dfa744d227d095e63a34686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.1 Darwin/23.6.0

Security for avoma-client 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page