https://github.com/mafeth/pyminuteinbox
minuteinbox.com API Wrapper
https://github.com/mafeth/pyminuteinbox
minuteinbox python tempmail-api wrapper-api
Last synced: 4 months ago
JSON representation
minuteinbox.com API Wrapper
- Host: GitHub
- URL: https://github.com/mafeth/pyminuteinbox
- Owner: mafeth
- License: mit
- Created: 2022-05-28T16:37:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T14:55:10.000Z (over 3 years ago)
- Last Synced: 2025-07-02T06:06:04.546Z (6 months ago)
- Topics: minuteinbox, python, tempmail-api, wrapper-api
- Language: Python
- Homepage: https://www.minuteinbox.com
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# PyMinuteInbox
> A simple python api wrapper libary for https://www.minuteinbox.com
### Installation
Run the following command to install
```bash
$ pip install pyminuteinbox
```
PyPi: https://pypi.org/project/pyminuteinbox/
### Usage
```python
# Import the libary
from pyminuteinbox import TempMailInbox, TempMail
# Create new Temp Mail Inbox
inbox = TempMailInbox()
# Fetch the latest mail
mail: TempMail = inbox.get_latest_mail()
# Print the inbox amount
print(f'Currently {str(len(inbox_get_all_mails()))} mails in inbox.')
print(f'Mail {mail.subject} from {mail.sender} received.')
```
### Examples
You can find a few examples [here](https://github.com/DevOFVictory/pyminuteinbox/tree/master/examples)
Feel free to add new examples as lang as the current code style is respected. :)