A python package to interact with messaging platform.
Project description
I Am Listening
A python package to listen to messaging platforms. | |
---|---|
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
Real use case
Documentation
Project details
Release history Release notifications | RSS feed
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.2.5.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2831f503673ce151ca0bb1bbdc965e0b61e0275c13b409703dc0ef245c91ad3c |
|
MD5 | 9da5fcecd7cb00c430fa4c57cbd1fa4d |
|
BLAKE2b-256 | 4efeddd32f9b4646e3318c8fbc83a0fa7673e3066c4f9fbc83ee394a43c16ce9 |