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.3.4.tar.gz (17.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.3.4-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file chattolib-0.3.4.tar.gz.

File metadata

  • Download URL: chattolib-0.3.4.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for chattolib-0.3.4.tar.gz
Algorithm Hash digest
SHA256 e09a3a1d2ae6494c80bd3cd252fa585b74a99c46cdf32bd85e8a9a6b36dc4820
MD5 6beec455909a7e851ea7c936ba7564f6
BLAKE2b-256 e11604797c987c4b48d28254a276f17df75c175263c01c2225958cb3aa1fa216

See more details on using hashes here.

File details

Details for the file chattolib-0.3.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for chattolib-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d974b1c0e09f111057586a58cce9e66452f592f9528108d4121c22a18699926c
MD5 a54020df41885aefd509e18e0cf4268e
BLAKE2b-256 ea44f7ffb4947b7b6bc21b286b331ed83fae25b31d12e53333d8272c8682934d

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