An open API service indexing awesome lists of open source software.

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

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. :)