Skip to main content

xonia.py - An easy to use, and async API wrapper for Xonia written in Python.

Project description

xonia.py 🐍

Python language MIT license Trivago hotel

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


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)

Uploaded Source

Built Distribution

xonia.py-0.1.0-py3-none-any.whl (13.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page