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.174a0.tar.gz (13.3 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.174a0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chattolib-0.0.174a0.tar.gz
  • Upload date:
  • Size: 13.3 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.174a0.tar.gz
Algorithm Hash digest
SHA256 f76884a60fe4a3897d2444fcfad1860c357bd04101184a517de6325f3a8cc816
MD5 a2dce7c7f964796a058c3eb60873203c
BLAKE2b-256 37c40a9c1555c0aa29daaa6692df7e7d38cf73d9fed72733082ee7c7c6a8b61b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chattolib-0.0.174a0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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.174a0-py3-none-any.whl
Algorithm Hash digest
SHA256 b952c286681d616b877e762265ff5875a8080a1b9f1dc1c943e9d7267f2fa562
MD5 e0fb8c3fd98d230482239cbdd6192b64
BLAKE2b-256 d25411da01bf5c5f60990c24ea6b27a520c39c4a7c617f6142eef7a5400be628

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