xonia.py - An easy to use, and async API wrapper for Xonia written in Python.
Project description
xonia.py 🐍
xonia.py - An easy to use, and async API wrapper for Xonia written in Python.
Contents
Documentation
Documentation for xonia.py
will be available soon.
Installation
Install or upgrade xonia.py using pip
pip install -U xonia.py
Basic Usage
from xonia import Client
from xonia import Credentials
creds = Credentials(
email = "your@email.com",
password = "your password"
)
client = Client(creds)
@client.event
async def on_ready():
print(f"Connected to Xonia!\nLogged in as {client.user}.")
@client.event
async def on_disconnect():
print(f"Disconnected from API.")
client.start()
Uninstall
Uninstall xonia.py
pip uninstall xonia.py
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
xonia.py-0.1.0.tar.gz
(6.9 kB
view hashes)
Built Distribution
xonia.py-0.1.0-py3-none-any.whl
(13.0 kB
view hashes)