Unofficial toolkit for Eitaa messenger.
Installing latest published release :
pip install eitaa
Install in-development version :
pip install git+https://github.com/bistcuite/eitaapykit.git
Getting channel's information :
from eitaa import Eitaa
print(Eitaa.get_info("eitta")) # "eitta" 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 trends :
from eitaa import Eitaa
trends = Eitaa.get_trends()
Read documentation here.
This project is licensed under the MIT License, read License for more information.