Skip to main content

Async Python client library for the Chatto webchat GraphQL API

Project description

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

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

chattolib-0.0.171a0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

chattolib-0.0.171a0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file chattolib-0.0.171a0.tar.gz.

File metadata

  • Download URL: chattolib-0.0.171a0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for chattolib-0.0.171a0.tar.gz
Algorithm Hash digest
SHA256 ba6028c48b4285e46a59f97389227d30f6acc35541b40cc4d05c3dbd4e3478f2
MD5 f8b403cbc32023cd62c51a5529560c90
BLAKE2b-256 245d399b21db2ec00037fc9a5444a39e718352c5a4b81de2a53754eeff3dd8e9

See more details on using hashes here.

File details

Details for the file chattolib-0.0.171a0-py3-none-any.whl.

File metadata

  • Download URL: chattolib-0.0.171a0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for chattolib-0.0.171a0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c5af75fa6432d201b1cf1d46a91ecd0be44df2423affe24ec3ef28cb7f1a8ce
MD5 117063311108866372129cdf4489daba
BLAKE2b-256 2e6c5f285ad67969095bc279184cc8fd864ad7ae8d88d6e9edcfcce32d5e3b0a

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