Skip to main content

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

github

telegram


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

templus-1.4.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

templus-1.4-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

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