AutoCash
مكتبة AutoCash مكتبة استلام مدفوعات تلقائى فى مصر و العراق .
المتطلبات
- Python 3.6 أو أحدث
- مكتبة
requests
التثبيت
لتثبيت المكتبة، استخدم الأمر التالي:
pip install autocash
طريقة الاستخدام
from autocash import AutoCash
# تهيئة المكتبة مع user_id و panel_id
user_id = "YOUR_USER_ID"
panel_id = "YOUR_PANEL_ID"
autocash = AutoCash(user_id, panel_id)
# إنشاء رابط دفع
payment_link = autocash.create_payment_link(extra="username")
print("Payment Link:", payment_link)
# إنشاء رابط دفع ل Payeer
payeer_link = autocash.create_payeer_payment_link(amount=100, callback_link="https://yourcallback.url")
print("Payeer Payment Link:", payeer_link)
# إنشاء رابط دفع ل OKX
okx_link = autocash.create_okx_payment_link(amount=100, extra="username")
print("OKX Payment Link:", okx_link)
# إنشاء رابط دفع ل Binance
binance_link = autocash.create_binance_payment_link(amount=100, extra="username")
print("Binance Payment Link:", binance_link)
# إحضار بيانات العملية
status = autocash.get_payment_status(key="معرف العملية")
#تكون status من نوع dict و تحتوى على بيانات كالمثال التالى :
"""status = {
"amount":"5.00",
"category":"VF-Cash",
"date":"Thu Nov 30 14:43:41 GMT+02:00 2023",
"id":"004952323000",
"phone":"01234567890",
"taken":true,
"user":"uSQ5ho94PQ4a4GreG"
}"""
# التحقق من عملية دفع تلقائيا
check = autocash.check_payment(phone="1234567890", amount=100)
# التحقق من عملية دفع تلقائيا OKX
check = autocash.check_okx_payment(amount=100, txid="معرف العملية", extra="username")
# التحقق من عملية دفع تلقائيا Binance
check = autocash.check_binance_payment(amount=100, txid="معرف العملية", extra="username")
#تكون check من نوع dict و تحتوى على بيانات كالمثال التالى :
"""check = {
"status":true,
"message":"تم إكمال عملية الدفع بنجاح بمبلغ 60 جنية .",
"key": "معرف العملية"
}"""
# الحصول على معلومات لوحة تحكم
info = autocash.get_info()
print("number:", info["number"])
print("rate:", info["rate"])
print("currency:", info["currency"])
# إنشاء رابط إعادة توجيه لاخفاء بيانات رابط الدفع
redirect_link = autocash.redirect(payment_link)
print("Redirect Link:", redirect_link)
Metadata
Release files for autocash 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autocash-0.3.tar.gz | 2.9 kB | Without provenance | Details for autocash-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autocash-0.3-py3-none-any.whl | Python 3 | none | any | Details for autocash-0.3-py3-none-any.whl |
Total release size: 6.2 kB
Release files / autocash-0.3.tar.gz
| Download URL | autocash-0.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45645a0078fe50f0f90fdb2c9831f22b16e597fea6d76a9296d2b57b2617f3c4
|
|
BLAKE2b-256 checksum How to use checksums |
78a25ee38313ca0e36d1da49917b8c07e91b8d8463dfbfb3a06be77db5252047
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / autocash-0.3-py3-none-any.whl
| Download URL | autocash-0.3-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11756f0133c596c77c0f7409ba8156cd794826b60debeae456b6cc49de89482c
|
|
BLAKE2b-256 checksum How to use checksums |
4d752657ef2043aee32c35aaf9b0e71800947cd1c2529c61fa5025c5269a4f04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Security for autocash 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.