Skip to main content

Temp-Mail.org API wrapper.

Project description

freetempmail - Temp-Mail.org API wrapper.

-WARINING!!!-

You must have Google Chrome installed for token generation!

-How to use?-

-Quickstart-

import freetempmail as ft

if __name__ == '__main__':
	ft.generateMail() #you can use generateMail(chromeVersion), by default it detects it automatically Example: generateMail(101)
	email = ft.getEmail() #returns email
	print(email)
	messages = ft.getMessages() #get messages
	print(messages)
	message = messages[0]['_id'] #read a first message
	print(message)

-Detect and get a new message-

import freetempmail as ft

if __name__ == '__main__':
	ft.generateMail()
	email = ft.getEmail() #returns email
	#This send message function or wait
	message = ft.waitMessage() #wait and get a new message
	print(message)

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

freetempmail-1.0.2.tar.gz (80.5 kB view hashes)

Uploaded Source

Built Distribution

freetempmail-1.0.2-py3-none-any.whl (93.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