Skip to main content

No project description provided

Project description

Eitaa Python Toolkit

Unofficial toolkit for Eitaa messenger.

pypi Downloads license

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")) # "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()

Documentation

Read documentation here.

Licence

This project is licensed under the MIT License, read License for more information.

Project details


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.1.2.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

eitaa-2.1.2-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page