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.17.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-0.1.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35361e2c31de3d4e6afb484efdd2b2b0dbbd2e19edd733d3df36c9fbd6f074a |
|
MD5 | 7f701d49278459f9a907a4cace477511 |
|
BLAKE2b-256 | c0c46a5cb5ab20c7271f316c9bd39519d64072c8c5eaca5aad8ce725a9118eda |