Brak opisu

TheCodemancer 578eb6a919 Update for Chatto API changes, bump to 0.0.149a0 5 miesięcy temu
src 578eb6a919 Update for Chatto API changes, bump to 0.0.149a0 5 miesięcy temu
tests 578eb6a919 Update for Chatto API changes, bump to 0.0.149a0 5 miesięcy temu
.gitignore f8250695c7 Add PyPI metadata and build artifacts to gitignore 6 miesięcy temu
CLAUDE.md 578eb6a919 Update for Chatto API changes, bump to 0.0.149a0 5 miesięcy temu
LICENSE c73577aeac Add README, MIT license, and PyPI long description 6 miesięcy temu
README.md c73577aeac Add README, MIT license, and PyPI long description 6 miesięcy temu
pyproject.toml 578eb6a919 Update for Chatto API changes, bump to 0.0.149a0 5 miesięcy temu

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