etempmail-2.0.0.0
توضیحات
A simple Python module to get free disposable temporary email address
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | etempmail-2.0.0.0 |
| نام | etempmail |
| نسخه کتابخانه | 2.0.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mahmuthan Elbir |
| ایمیل نویسنده | me@mahmuthanelbir.com.tr |
| آدرس صفحه اصلی | https://github.com/mahelbir/etempmail |
| آدرس اینترنتی | https://pypi.org/project/etempmail/ |
| مجوز | MIT |
# ETempMail
A simple Python module to get free disposable temporary email address.
## Installation
To install etempmail use pip:
```bash
pip install etempmail
```
## Usage
```python
from etempmail import TempMail
# recovery: str = None, url: str = 'https://etempmail.com', debug_response: bool = True
temp_mail = TempMail() # or TempMail('WHHKSIX7915')
print(temp_mail.domains()) # response -> (domain_id, domain_name)
# [('5', 'gmail.com'), ('4', 'hotmail.com'), ('2', 'yandex.com')]
print(temp_mail.id)
# 7915
print(temp_mail.email)
# sidavm5dhc@istanbultaksi.xyz
print(temp_mail.recovery)
# WHHKSIX7915
print(temp_mail.inbox())
# [{'subject': 'test', 'from': 'Anonymousemail <noreply@gmail.com>', 'date': '16/08/2022 19:40:47', 'body': 'Test Body Code: 123'}]
temp_mail.recover('LHKXDMG7910') # Recover email address
temp_mail.change() # Change email address by random domain
temp_mail.change(4) # Change email address by domain_id
```
## License
The MIT License (MIT). Please see [License File](LISENCE) for more information.
نیازمندی
| مقدار | نام |
|---|---|
| ~=2.28.1 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl etempmail-2.0.0.0:
pip install etempmail-2.0.0.0.whl
نصب پکیج tar.gz etempmail-2.0.0.0:
pip install etempmail-2.0.0.0.tar.gz