wirexaapi 1.0.0__tar.gz → 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wirexaapi-1.0.0 → wirexaapi-1.0.1}/PKG-INFO +1 -1
- {wirexaapi-1.0.0 → wirexaapi-1.0.1}/pyproject.toml +1 -1
- wirexaapi-1.0.1/wirexaapi/__init__.py +23 -0
- {wirexaapi-1.0.0/wirexaapi → wirexaapi-1.0.1/wirexaapi/rest}/__init__.py +0 -20
- {wirexaapi-1.0.0 → wirexaapi-1.0.1}/wirexaapi.egg-info/PKG-INFO +1 -1
- {wirexaapi-1.0.0 → wirexaapi-1.0.1}/wirexaapi.egg-info/SOURCES.txt +2 -1
- {wirexaapi-1.0.0 → wirexaapi-1.0.1}/README.md +0 -0
- {wirexaapi-1.0.0 → wirexaapi-1.0.1}/setup.cfg +0 -0
- {wirexaapi-1.0.0 → wirexaapi-1.0.1}/wirexaapi.egg-info/dependency_links.txt +0 -0
- {wirexaapi-1.0.0 → wirexaapi-1.0.1}/wirexaapi.egg-info/requires.txt +0 -0
- {wirexaapi-1.0.0 → wirexaapi-1.0.1}/wirexaapi.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Wirexa API SDK - Drop-in replacement del SDK de SignalWire/Twilio.
|
|
3
|
+
|
|
4
|
+
CREDENCIALES (las obtienes del dashboard):
|
|
5
|
+
space_url = "your-space.example.com:5000"
|
|
6
|
+
project_id = "your-project-id"
|
|
7
|
+
api_token = "your-api-token"
|
|
8
|
+
|
|
9
|
+
USO:
|
|
10
|
+
|
|
11
|
+
ANTES (SignalWire original):
|
|
12
|
+
from signalwire.rest import Client
|
|
13
|
+
client = Client(project_id, api_token, signalwire_space_url=space_url)
|
|
14
|
+
|
|
15
|
+
DESPUÉS (Wirexa API):
|
|
16
|
+
from wirexaapi import Client
|
|
17
|
+
client = Client(project_id, api_token, signalwire_space_url=space_url)
|
|
18
|
+
|
|
19
|
+
El resto del código NO cambia.
|
|
20
|
+
"""
|
|
21
|
+
from wirexaapi.rest import Client
|
|
22
|
+
|
|
23
|
+
__all__ = ["Client"]
|
|
@@ -1,23 +1,3 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Wirexa API SDK - Drop-in replacement del SDK de SignalWire/Twilio.
|
|
3
|
-
|
|
4
|
-
CREDENCIALES (las obtienes del dashboard):
|
|
5
|
-
space_url = "your-space.example.com:5000"
|
|
6
|
-
project_id = "your-project-id"
|
|
7
|
-
api_token = "your-api-token"
|
|
8
|
-
|
|
9
|
-
USO:
|
|
10
|
-
|
|
11
|
-
ANTES (SignalWire original):
|
|
12
|
-
from signalwire.rest import Client
|
|
13
|
-
client = Client(project_id, api_token, signalwire_space_url=space_url)
|
|
14
|
-
|
|
15
|
-
DESPUÉS (Wirexa API):
|
|
16
|
-
from wirexaapi import Client
|
|
17
|
-
client = Client(project_id, api_token, signalwire_space_url=space_url)
|
|
18
|
-
|
|
19
|
-
El resto del código NO cambia.
|
|
20
|
-
"""
|
|
21
1
|
from __future__ import annotations
|
|
22
2
|
|
|
23
3
|
import logging
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|