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.149a0.tar.gz (13.4 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.149a0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chattolib-0.0.149a0.tar.gz
  • Upload date:
  • Size: 13.4 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.149a0.tar.gz
Algorithm Hash digest
SHA256 cbbec2c8da5dc2328d0e2b8b152426fa90390cc16118a57905605e10caf16801
MD5 ca9b8e9ed5046a9efd370a70f7d49460
BLAKE2b-256 26ac940b7e029f4aa660d4fe9a8a04bf1df8a74d98b09e68f5dee9e09b4733d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chattolib-0.0.149a0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.149a0-py3-none-any.whl
Algorithm Hash digest
SHA256 8240a6deaf58410a88b7e2e228664c8478e56dfa042c2716343f057c217c5eb0
MD5 48af372c3a817f95cd6365766bb49bf6
BLAKE2b-256 474a9207a98c6394e5debe4b33b7f8ae0847b845432687be83a05c98dbd9ce65

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