eitaa-2.0.0
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | eitaa-2.0.0 |
| نام | eitaa |
| نسخه کتابخانه | 2.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/bistcuite/eitaapykit |
| آدرس اینترنتی | https://pypi.org/project/eitaa/ |
| مجوز | - |
# Eitaa Python Toolkit
Unofficial toolkit for [Eitaa](https://eitaa.com/) messenger.

[](https://pepy.tech/project/eitaa)

## 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 :
```py
from eitaa import Eitaa
print(Eitaa.get_info("eitta")) # "eitta" is a channel id
```
Getting latest messages of a channel:
```py
from eitaa import Eitaa
print(Eitaa.get_latest_messages('eitaa'))
```
Sending messages :
```py
from eitaa import Eitaa
eitaa_obj = Eitaa("your eitaayar.ir token")
print(eitaa_obj.send_message("chat id","message text",pin=True))
```
Getting trends :
```py
from eitaa import Eitaa
trends = Eitaa.get_trends()
```
## Documentation
Read documentation [here](https://github.com/bistcuite/eitaapykit/tree/main/docs).
## Licence
This project is licensed under the **MIT** License, read [License](LICENSE) for more information.
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | bs4 |
نحوه نصب
نصب پکیج whl eitaa-2.0.0:
pip install eitaa-2.0.0.whl
نصب پکیج tar.gz eitaa-2.0.0:
pip install eitaa-2.0.0.tar.gz