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.2.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 814416afe8563f88ce63b7c537d774965896fe70cabb52a5c0b108200c439f09 |
|
MD5 | abf8b45cec1211db17f1089b45148ed7 |
|
BLAKE2b-256 | 44f392c8358317c2d433fe7e14c1131e7f15fc79d7fa1e12a0f28d0a0f09abe1 |