Nexacon Python SDK - External Integration with nx_token Authentication
Project description
Nexacon Python SDK
Python SDK for Nexacon API - External Integration with nx_token Authentication
Installation
pip install nexacon-sdk
Quick Start
The SDK uses external authentication with nx_token. No username/password required.
from nexacon import NexaconClient
# Initialize client with nx_token (external authentication)
client = NexaconClient(
nx_token="your_nx_token", # Required - your external authentication token
api_key="your_api_key",
secret_key="your_secret_key",
base_url="https://nxservice.quantumvision-tech.com/api/v1.0"
)
# Verify token and get user info
user = client.auth.verify_token()
print(f"Authenticated as: {user}")
# Send message
client.messaging.send(to="+255788811191", message="Hello!")
# Initiate call
call_url = client.calls.initiate_call(
to="+255788811191",
call_type="video",
room="my-room"
)
# Register device for push notifications
client.devices.register(
fcm_token="device_fcm_token",
platform="android"
)
# Manage rooms (group chats)
rooms = client.rooms.list()
new_room = client.rooms.create(title="My Group", description="Group chat")
client.rooms.add_member(new_room["name"], nxid="user_nxid")
# Check user presence
presence = client.presence.get(user="user_nxid")
Features
- External Authentication: nx_token-based authentication (no username/password)
- Messaging: Send/receive messages, manage contacts
- Calls: Initiate audio/video calls, group calls
- Devices: Register devices for push notifications
- Rooms: Create and manage group chat rooms
- Presence: Check user online status
Documentation
Full documentation at docs.nexacon.com
License
MIT License - see LICENSE file for details.
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
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 nexacon_sdk-1.0.0.tar.gz.
File metadata
- Download URL: nexacon_sdk-1.0.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b716727a24b885a52b4af417098d0522d060002ee008b5e19563b3edf6520a3a
|
|
| MD5 |
af18c386bb8f0713a9e78bd579b34db2
|
|
| BLAKE2b-256 |
f4267cf6f554e73129ae4db3a11fa78eb6aaba5138d9f48aa312d2f0b23c1d2a
|
File details
Details for the file nexacon_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nexacon_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de31d6ec173060ede3a2a7892eeb8cbd41fd9541697ef526fccf0e276f2816c9
|
|
| MD5 |
c9d9ed2947e47aa9ef441d368161dd6a
|
|
| BLAKE2b-256 |
036442118fac5ed74adaad369669f43b014da571068e6ef6b8fc19ae65b25772
|