No project description provided
Project description
Eitaa Python Toolkit
Unofficial toolkit for Eitaa messenger.
🇺🇸 English | 🇮🇷 فارسی
Installation
Installing latest published release :
pip install eitaa
Install in-development version :
pip install git+https://github.com/bistcuite/eitaapykit.git
Example
Getting channel's information:
from eitaa import Eitaa
print(Eitaa.get_info("eitta")) # "eitaa" is a channel id
Getting latest messages of a channel:
from eitaa import Eitaa
print(Eitaa.get_latest_messages('eitaa'))
Sending messages:
from eitaa import Eitaa
eitaa_obj = Eitaa("your eitaayar.ir token")
print(eitaa_obj.send_message("chat id","message text",pin=True))
Getting messages from channels:
Eitaa.get_message("YUOR_CHANNEL_ID","YOUR_POST_ID")
Getting trends:
from eitaa import Eitaa
trends = Eitaa.get_trends()
Documentation
Read documentation here.
Licence
This project is licensed under the MIT License, read License for more information.
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
eitaa-2.2.1.tar.gz
(5.1 kB
view details)
Built Distribution
eitaa-2.2.1-py3-none-any.whl
(5.2 kB
view details)
File details
Details for the file eitaa-2.2.1.tar.gz
.
File metadata
- Download URL: eitaa-2.2.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f4c95b0a1f558a537a728b1709eae4dad4df4dbe0b750833d6394a3e77d364d0
|
|
MD5 |
d54f343a26864c5b7576e7322b47fae7
|
|
BLAKE2b-256 |
0ffb20615627fe90e57c9bee792094d68d8949b65c36ccdfe54878450191499e
|
File details
Details for the file eitaa-2.2.1-py3-none-any.whl
.
File metadata
- Download URL: eitaa-2.2.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
707acac715cb7e3ea7496fa05f1ef935d29150273c24c0c6e47eda9e2b1e8a9c
|
|
MD5 |
be8c87556f506b64402117a985a324e9
|
|
BLAKE2b-256 |
73e19340fc88ad4f0f0740cffb7b97602e42abfde424508227f344d1ba674ddf
|