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.1.0b3.tar.gz (17.0 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.1.0b3-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file chattolib-0.1.0b3.tar.gz.

File metadata

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

File hashes

Hashes for chattolib-0.1.0b3.tar.gz
Algorithm Hash digest
SHA256 d2386815317e83b37e87911de37f609342f9ad2feeed146de7abcb5f971fdc71
MD5 0f42b8d485c367987b62613d0c40cb79
BLAKE2b-256 cce0f1d8d4b89c9a67c3a13dc39560ff03feaf19d4bda10e0d07232ca63e735d

See more details on using hashes here.

File details

Details for the file chattolib-0.1.0b3-py3-none-any.whl.

File metadata

  • Download URL: chattolib-0.1.0b3-py3-none-any.whl
  • Upload date:
  • Size: 15.5 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.1.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a16ca71681d0f809c08b1d8d3e3f8b2f0f172361f14208cfa637948e68e9134
MD5 c2fddd9c6cf67d9b6837067cf8d30da3
BLAKE2b-256 b4ac9d502dc2bf8cfcbd8b4aded8d1138889a587e1711f519a3e90d07a281573

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