Skip to main content

A python package to interact with messaging platform.

Project description

I Am Listening

Logo A python package to listen to messaging platforms.

wiki Pypi Version
Pypi
Build codecov
build a client to interact with messaging platform

Key features:

  • support discord, telegram and matrix platform

Install

pip install iamlistening

How to use it

  listener = Listener()
  task = asyncio.create_task(listener.run_forever())
  while True:
    try:
        msg = await listener.get_latest_message()
        if msg:
            print(f"Frasier👂: {msg}")

    except Exception as error:
        print(error)
  await task
  

Example

example

Real use case

TalkyTrader, submit trading order to CEX & DEX with messaging platform (Telegram, Matrix and Discord)

Documentation

wiki

Project details


Release history Release notifications | RSS feed

This version

0.1.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iamlistening-0.1.9.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

iamlistening-0.1.9-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page