Skip to content

DevOFVictory/pyminuteinbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMinuteInbox

A simple python api wrapper libary for https://www.minuteinbox.com

Installation

Run the following command to install

$ pip install pyminuteinbox

PyPi: https://pypi.org/project/pyminuteinbox/

Usage

# 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
Feel free to add new examples as lang as the current code style is respected. :)