A python API wrapper for temp-mail.org

Overview

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 [email protected]

Generate email address and get emails from it:

from tempmail import TempMail

tm = TempMail()
email = tm.get_email_address()  # [email protected]
print tm.get_mailbox(email)  # list of emails
Bitdeli badge
You might also like...
An Amazon Price Tracker app helps you to buy which product you want within sale price by sending an E-Mail.
An Amazon Price Tracker app helps you to buy which product you want within sale price by sending an E-Mail.

Amazon Price Tracker An Amazon Price Tracker app helps you to buy which product you want within sale price by sending an E-Mail. Installing Download t

This is a Telegram Bot that tracks packages from the Brazilian Mail Service.
This is a Telegram Bot that tracks packages from the Brazilian Mail Service.

RastreioBot About Setup Run Contribute Contact About This is a Telegram Bot that tracks packages from the Brazilian Mail Service. It runs on Python 3

Python API wrapper around Trello's API

A wrapper around the Trello API written in Python. Each Trello object is represented by a corresponding Python object. The attributes of these objects

Async ready API wrapper for Revolt API written in Python.

Mutiny Async ready API wrapper for Revolt API written in Python. Installation Python 3.9 or higher is required To install the library, you can just ru

A Python API wrapper for the Twitter API!

PyTweet PyTweet is an api wrapper made for twitter using twitter's api version 2! Installation Windows py3 -m pip install PyTweet Linux python -m pip

Python API wrapper library for Convex Value API

convex-value-python Python API wrapper library for Convex Value API. Further Links: Convex Value homepage @ConvexValue on Twitter JB on Twitter Authen

This an API wrapper library for the OpenSea API written in Python 3.

OpenSea NFT API Python 3 wrapper This an API wrapper library for the OpenSea API written in Python 3. The library provides a simplified interface to f

YARSAW is an Async Python API Wrapper for the Random Stuff API.

Yet Another Random Stuff API Wrapper - YARSAW YARSAW is an Async Python API Wrapper for the Random Stuff API. This module makes it simpler for you to

EpikCord.py - This is an API Wrapper for Discord's API for Python

EpikCord.py - This is an API Wrapper for Discord's API for Python! We've decided not to fork discord.py and start completely from scratch for a new, better structuring system!

Comments
  • get_mailbox(...) underlying request throws ValueError

    get_mailbox(...) underlying request throws ValueError

    After registering for an email with tm = TempMail() subsequent calls to tm.get_mailbox() throw ValueError: No JSON object could be decoded.

    How to reproduce:

    mb = TempMail()
    email = mb.get_email_address()
    
    for x in range(0, 30):
        print 'Try: %d' % x
    
        inbox = mb.get_mailbox(email)
    
        time.sleep(1)
    

    Can we have a try catch ValueError in the get_mailbox method?

    opened by rkubik 0
  • extra spaces in Subject and From

    extra spaces in Subject and From

    В отправленном письме в Subj было: 'Черехапа: Регистрационная информация' при использовании python модуля tempmail получаю в subj лишние пробелы: 'Черехапа: Регистраци онная информация' . Аналогично с From - появились дополнительные пробелы. При запросе api напрямую тоже доп. пробелы.

    opened by cherehapa 1
  • Error on tm.get_mailbox(email)

    Error on tm.get_mailbox(email)

    Traceback (most recent call last):
      File "/Users/myusername/Dropbox/Python/Projects/RCGspam/main.py", line 32, in <module>
        mailbox = tm.get_mailbox(email)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tempmail.py", line 92, in get_mailbox
        email_hash = self.get_hash(email)
      File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/tempmail.py", line 79, in get_hash
        return md5(email).hexdigest()
    TypeError: Unicode-objects must be encoded before hashing
    
    opened by ghost 1
API to retrieve the number of grades on the OGE website (Website listing the grades of students) to know if a new grade is available. If a new grade has been entered, the program sends a notification e-mail with the subject.

OGE-ESIREM-API Introduction API to retrieve the number of grades on the OGE website (Website listing the grades of students) to know if a new grade is

Benjamin Milhet 5 Apr 27, 2022
Aws-lambda-requests-wrapper - Request/Response wrapper for AWS Lambda with API Gateway

AWS Lambda Requests Wrapper Request/Response wrapper for AWS Lambda with API Gat

null 1 May 20, 2022
Python functions for opentargets.org API

What is opy_Targets? Opentargets.org uses GraphQL API to explore it's content via coding. This ensemble of functions aim is to make it easy to use the

null 1 Jan 10, 2022
Red-mail - Advanced email sending library for Python

Red Mail Next generation email sender What is it? Red Mail is an advanced email

Mikael Koli 313 Jan 8, 2023
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
Secret messaging app which you can use to communicate with your friends by encrypting / decrypting secret messages or sending secret message through mail.

Secret-Whisper A Secret messaging app which you can use to communicate with your friends by encrypting / decrypting secret messages ?? or sending secr

null 3 Jan 1, 2022
Gera um PDF, logo depois de você responder um questionário simples, e envia para o e-mail que você informar.

PDF generator and send it for your email Criador: Francisco Robson de O. Dutra Filho Repositório criado no dia 18/09/2021 Instagram: @robsondutra_ Sob

null 8 Nov 22, 2021
Script que realiza a identificação de todos os logins e senhas dos wifis conectados em uma máquina e envia os dados para um e-mail especificado.

getWIFIConnection Script que realiza a identificação de todos os logins e senhas dos wifis conectados em uma máquina e envia os dados para um e-mail e

Vinícius Azevedo 3 Nov 27, 2022