Skip to main content

An asynchronous Python wrapper for the Eitaayar API.

Project description

eitaapy

🔹 eitaapy یک بسته‌ی غیرهمزمان (Asynchronous) برای تعامل با API رسمی Eitaa است.
این پکیج به شما امکان ارسال پیام، دریافت اطلاعات کاربران و گروه‌ها، مدیریت بات‌ها و ... را به صورت آسان و کارآمد می‌دهد.


🚀 ویژگی‌ها

ارتباط غیرهمزمان (Async) با استفاده از aiohttp
سادگی در استفاده با یک رابط کاربری راحت
مدیریت پیام‌ها و گروه‌ها
ارسال و دریافت اطلاعات از API
نصب و استفاده‌ی آسان


🛠 نصب

برای نصب eitaapy از طریق pip کافیست دستور زیر را اجرا کنید:

pip install eitaapy


```python
import asyncio
from eitaapy import Robot

async def main():
    client = Robot(token="YOUR_API_TOKEN")

    # ارسال پیام به یک کانال یا کاربر
    response = await client.send_message(chat_id="TARGET_GUID", text="سلام! این یک پیام تستی است.")
    
    print(response)

asyncio.run(main())```

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

eitaapy-1.2.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

eitaapy-1.2.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file eitaapy-1.2.0.tar.gz.

File metadata

  • Download URL: eitaapy-1.2.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for eitaapy-1.2.0.tar.gz
Algorithm Hash digest
SHA256 7f592380fd09d19cfa17764de8958c5563b0bbc4679e257c8e11d1d4038d795e
MD5 48832962c98a51933cfe6c38bcb10a57
BLAKE2b-256 8c3f0fdf9a1cc88ba5e77753480f4463e082880942622879ffd37a67d51ebf90

See more details on using hashes here.

File details

Details for the file eitaapy-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: eitaapy-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for eitaapy-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cce59a741b39a5b7c0ef005dd347f5b77de26c5128691e2e4ec808d221adc83
MD5 dcbc2530a02d678c7af5d09cede1f261
BLAKE2b-256 33fbfb6d1562926a3d98ee424517fec8c9ca73422cb25927a0be2abf12f486df

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