Skip to main content

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

Project description

temp-mail

Python API Wrapper for temp-mail.ru service. This service provide temporary email address.

Requirements

requests- required.

simplejson - not required, but useful for a serious speed boost in JSON decode.

Installation

Installing is simple 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.1 (2013-08-18)

Initial release

Project details


Download files

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

Source Distribution

temp-mail-0.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page