Skip to content

alekxeyuk/temp-mail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

temp-mail

Python API Wrapper for temp-mail.ru service. Temp-mail is a service which lets you use anonymous emails for free. You can view full API specification in api.temp-mail.ru.

Requirements

requests - required.

simplejson - optional, for a serious speed boost in JSON decode.

Installation

Installing with pip:

$ pip install temp-mail

Usage

Get all emails from given email login and domain:

from tempmail import TempMail

tm = TempMail(login='denis', domain='@gnail.pw')
print tm.get_mailbox()  # list of emails in [email protected]

Generate email address and get emails from it:

from tempmail import TempMail

tm = TempMail()
email = tm.get_email_address()  # [email protected]
print tm.get_mailbox(email)  # list of emails
Bitdeli badge

About

A python API wrapper for temp-mail.ru

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%