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.14.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-0.1.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b885f0b7bab8439e68520c0aa8a7c5e462a6380f1b9b296465240856ca3cbbc |
|
MD5 | 92607742c782d7c6b51575286c6362a8 |
|
BLAKE2b-256 | 01806b60fb060b4d35bbf636d2732834b354af79ae09825b03670a88e3c4e0de |