Bez popisu

TheCodemancer 223bca61a8 Update for Chatto v0.0.171: spaces removed, single-server model před 5 měsíci
src 223bca61a8 Update for Chatto v0.0.171: spaces removed, single-server model před 5 měsíci
tests 223bca61a8 Update for Chatto v0.0.171: spaces removed, single-server model před 5 měsíci
.gitignore f8250695c7 Add PyPI metadata and build artifacts to gitignore před 6 měsíci
CLAUDE.md 223bca61a8 Update for Chatto v0.0.171: spaces removed, single-server model před 5 měsíci
LICENSE c73577aeac Add README, MIT license, and PyPI long description před 6 měsíci
README.md c73577aeac Add README, MIT license, and PyPI long description před 6 měsíci
pyproject.toml 223bca61a8 Update for Chatto v0.0.171: spaces removed, single-server model před 5 měsíci

README.md

chattolib

Unofficial async Python client library for the Chatto webchat GraphQL API.

Pre-alpha — API may change without notice. Use at your own risk.

Install

pip install chattolib

Quick start

import asyncio
from chattolib import ChattoClient

async def main():
    async with await ChattoClient.login("username", "password") as client:
        me = await client.me()
        print(f"Logged in as {me.display_name}")

        spaces = await client.spaces()
        for space in spaces:
            print(f"  - {space.name}")

asyncio.run(main())

License

MIT