Wirexa API SDK - SignalWire/Twilio compatible voice API client
Project description
Wirexa API SDK
A production-ready Python SDK for Wirexa API - a self-hosted telephony platform compatible with SignalWire and Twilio REST API.
Installation
pip install wirexaapi
Quick Start
from wirexaapi import Client
# Connect to your Wirexa API instance
client = Client(
project_id="your-project-id",
api_token="your-api-token",
signalwire_space_url="your-space.example.com:5000"
)
# Make a call
call = client.calls.create(
to="+573001234567",
from_="+18005550100",
url="https://your-backend.com/xml",
method="POST",
timeout=28,
record=True,
status_callback="https://your-backend.com/status",
status_callback_event=["initiated", "ringing", "completed"],
)
print(f"Call SID: {call.sid}")
print(f"Call Status: {call.status}")
Migration from SignalWire
If you're migrating from SignalWire SDK:
# Before
from signalwire.rest import Client as SignalWireClient
# After
from wirexaapi import Client as SignalWireClient
The rest of your code stays the same!
Features
- Full SignalWire/Twilio API compatibility
- Call creation, retrieval, and listing
- Machine Detection (AMD)
- Recording
- Status callbacks
- Async AMD support
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wirexaapi-1.0.0.tar.gz
(3.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wirexaapi-1.0.0.tar.gz.
File metadata
- Download URL: wirexaapi-1.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d595ec530a668d882fdcb154b66cba1f4e8b66396116c7e348123544f8688a5
|
|
| MD5 |
84615613f1408e2c372829e00cdc6106
|
|
| BLAKE2b-256 |
67ff298da8689f844cf7024da572bd192971a746478f44864369c487c94bd477
|
File details
Details for the file wirexaapi-1.0.0-py3-none-any.whl.
File metadata
- Download URL: wirexaapi-1.0.0-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.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
132dc11a4f902c88e24b45ddeb01aa81ee510177e36e8fd5a59847f7586ad8a9
|
|
| MD5 |
5da4363bd8b3249095cb3941df77bc13
|
|
| BLAKE2b-256 |
16c97abafdcd0c87be0f3bbe660ea264eb878fc3e9eb7d9cb16608349640a8b1
|