skip to navigation
skip to content

temp-mail 0.2

Wrapper for online service which provides temporary email address: https://temp-mail.ru/

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 denis@gnail.pw

Generate email address and get emails from it:

from tempmail import TempMail

tm = TempMail()
email = tm.get_email_address()  # v5gwnrnk7f@gnail.pw
print tm.get_mailbox(email)  # list of emails

Changes

0.2 (2013-08-20)

  • Improved readme
  • Created github page
  • Improved docstrings for class methods
  • Some minor fixes

0.1 (2013-08-18)

  • Initial release
 
File Type Py Version Uploaded on Size
temp-mail-0.2.tar.gz (md5) Source 2013-08-20 3KB