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.1.12.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9229ae48426ff5ca2bbcde8c2d108335d4099895aa23c334bc2265a5928b778e |
|
MD5 | e7d1762cc28999be6743d5aed7f0af26 |
|
BLAKE2b-256 | b9024e9d68ea42059119aa923d97f9c291a6e99da6a815cc72c6dee64f9b3fd5 |