Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python wrapper for online service which provides temporary email address: https://temp-mail.org/ V2

Project description

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

Requirements

requests - required.

You can install it through

$ pip install requests

Installation

Installing with pip:

$ pip install tempMail2

Usage

Get all emails from given email login and domain:

from tempMail2 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 tempMail2 import TempMail

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tempMail2, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size tempMail2-1.0.2-py2-none-any.whl (3.1 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size tempMail2-1.0.2.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page