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.0.0.tar.gz (3.8 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.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eitaapy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cbe88dea300963129d7e3ec2f8b07bb08182bd5687aff61932ba6e03bd690ee2
MD5 2ca55105fb6d30fd90891f87b9b13d57
BLAKE2b-256 033df2d48e8db4d62a76dbdfd748921825f3ffae5f5edc018c9fce21cd0aa095

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eitaapy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e02b4c071a6ccef563aaf0e5c3780384652c8becbdc96824d22b32d5a1fb47fb
MD5 c4192852d9c46d8b39cc756b0c8eafa4
BLAKE2b-256 4f72a7262a5bf8b8b2893a182487f14bd328280fc9c03adce961bcc61191e856

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