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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file xonia.py-0.1.0.tar.gz.

File metadata

  • Download URL: xonia.py-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for xonia.py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 97ad260adfb910212f68e3ea57feb4bbdced2142dc4679b0e9d9c3934e8f0e24
MD5 86ae44eb3f3baa14e060f1c044ec19ff
BLAKE2b-256 9bf0bf873e7372af64b95c15955c8783b1ed3fa92a9ee82890757700568b8e9f

See more details on using hashes here.

File details

Details for the file xonia.py-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xonia.py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for xonia.py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c46962743703c6794fdfaafed934ea2474e7241f2474749e952d19cfec29592
MD5 3a0fd00d4195ce82c67e529804a1f22d
BLAKE2b-256 3c32268084dc73c738032e081ff256378db93fe8edd3c44751cfa48523c6b41f

See more details on using hashes here.

Supported by

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