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. 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

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.2.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file temp-mail-0.2.tar.gz.

File metadata

  • Download URL: temp-mail-0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for temp-mail-0.2.tar.gz
Algorithm Hash digest
SHA256 bad6d87ee0475ccc0cfb50191d977f71ca0e2d67fb3bda4aaee38d2111ef3354
MD5 f625c6b699769cd83b133fdc8d5bec92
BLAKE2b-256 d8718615b9ccad991b458b962987390b819f0897e8909739f4d39df3c5d1acbd

See more details on using hashes here.

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