Skip to main content

No project description provided

Project description

Eitaa Python Toolkit

Unofficial toolkit for Eitaa messenger.

🇺🇸 English | 🇮🇷 فارسی

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


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.3.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eitaa-2.3.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file eitaa-2.3.1.tar.gz.

File metadata

  • Download URL: eitaa-2.3.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for eitaa-2.3.1.tar.gz
Algorithm Hash digest
SHA256 414910ed368d758b8931fc005de9852a95f20ecc281ca90769e2b01d36203985
MD5 b8a5b9bc46c01b7dfd91c9d28b0d9f3c
BLAKE2b-256 5fadb1044b7bd2ce75d8ca3503e4c51b2a221b995459a47985f4b03594c4d5b5

See more details on using hashes here.

File details

Details for the file eitaa-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: eitaa-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for eitaa-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9409b253d196df424c644676999f9c29b7cd8bdd333615bdfc990eeb4b4cb0f
MD5 05d506a274195188b6729e901dff06a3
BLAKE2b-256 0fbf81fa376d94b3d24ffc8395be0369eaffaca092749cec1417daba5c146421

See more details on using hashes here.

Supported by

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