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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

chattolib-0.0.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chattolib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 beb99114def5cdf64dee9c3c8cec42de4b431cef59698e40a270cbb440682b7c
MD5 0a0dfb0eac3ed123ae15ce3c9013bff5
BLAKE2b-256 c8478906664092e0b760a21c375ced407127d2e0c04e002e843261a5d00898b2

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