Voice API SDK — compatible con SignalWire y Twilio
Project description
AorusAPI SDK
SDK para la API de voz de AorusAPI. Compatible con el SDK oficial de SignalWire — solo cambia el import.
Instalación
pip install aorusapi
Uso
from aorusapi.rest import Client
client = Client(
"tu-project-id",
"tu-api-token",
signalwire_space_url="app.aorusapi.com"
)
call = client.calls.create(
to="+1234567890",
from_="+0987654321",
url="https://tu-backend.com/voice",
record=True,
status_callback="https://tu-backend.com/status",
machine_detection="Enable",
)
print(call.sid, call.status)
Migrar desde SignalWire
# Antes
from signalwire.rest import Client
# Después — el resto del código no cambia
from aorusapi.rest import Client
Obtener credenciales
Dashboard: https://app.aorusapi.com
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
aorusapi-1.0.0.tar.gz
(3.3 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 aorusapi-1.0.0.tar.gz.
File metadata
- Download URL: aorusapi-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60f82e3bea17493b84e0aa49d84fde40d25edee4971fbf7d0bacfbb9d7973306
|
|
| MD5 |
4a9c7df81f2815d95ebec4336c687cfc
|
|
| BLAKE2b-256 |
c641f62c89a1823fb42ddec0837e0919e5eac3bfdbe89738e73c9bccc06bb299
|
File details
Details for the file aorusapi-1.0.0-py3-none-any.whl.
File metadata
- Download URL: aorusapi-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.7 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 |
66811e6ebdbdf17ab159e0aa970331cf707fcf7057ed0a7f5beb12027b599b30
|
|
| MD5 |
6ac7ae83da2608a2632b5dd0b282be4b
|
|
| BLAKE2b-256 |
41177cdfa0ebf0b6564d163e6fa8fcad130b80a618b62519bf96d99b7147ae70
|