Skip to main content

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.

Install

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

Source Distribution

tempMail2-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

tempMail2-1.0.0-py2-none-any.whl (3.1 kB view details)

Uploaded Python 2

File details

Details for the file tempMail2-1.0.0.tar.gz.

File metadata

  • Download URL: tempMail2-1.0.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tempMail2-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ec249aaf8660d2c328b3f11a5378e9cffd3d5a7ad70ddc6c4709a248103e7fc9
MD5 97f72b5b02a6a93c0b890a94d5c94023
BLAKE2b-256 184a4755aaef82a459898e61c9d61799c2073e22632524298a31814c6daaa20d

See more details on using hashes here.

File details

Details for the file tempMail2-1.0.0-py2-none-any.whl.

File metadata

File hashes

Hashes for tempMail2-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 cac1c1c2c4c1b73fabcd05bcb5ad046aa4d82e106da71a030aee042ca0ff716a
MD5 0a06960fbb73145c4c4727357b85e683
BLAKE2b-256 e78e9953ebe7979f2153bc6a315af8de1f147de9887bc7a06bcefc37a110b6a0

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