library for reading and receiving messages from https://tempmail.plus/ru/#!
Project description
install using pip
pip install templus
code example
import templus
client = templus.Client() #insert mail as an argument if you want to interact with it through a class attribute
mails = client.generate_mails(10)
print("generated mails: %s" % ", ".join(mails))
mail = mails[0]
msgs_ids = client.get_messages(mail).id
for id in msgs_ids:
print(client.read_message(id, mail).text)
- objects
get_messages() -> Messages
attributes:
json
id
is_new
from_mail
from_name
title
date
read_message() -> Message
attributes:
json
id
from_mail
from_name
title
text
attachments
date
- project links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
templus-1.4.tar.gz
(3.1 kB
view hashes)
Built Distribution
templus-1.4-py3-none-any.whl
(3.7 kB
view hashes)