Skip to main content

Wrapper for online service which provides temporary email address: https://www.1secmail.com/api/

Project description

# Temp-Mail Api Wrapepr Python API wrapper for 1secmail.com/api/. Temp mail lets you use anonymous emails for free ## Requirements - requests ## Installation - pip install

## Usage Get list of active domains ` from tempmail import TempMail email = TempMail() # you can youse your login print(email.get_list_of_active_domain()) ` Generate random email address

` from tempmail import TempMail email = TempMail() # you can youse your login email.generate_random_email_address() ` Get your login and domain ` from tempmail import TempMail email = TempMail() get.login() get.domain() ` Download Attachment from MailBox ` from tempmail import TempMail() email = TempMail(login='login') email.download_attachments_by_id(id=12312,attachemnts='file.jpg') `

Download all Files from MailBox ` from tempmail import TempMail() email = TempMail(login='login') email.download_all_files() `

Get list of emails ` from tempmail import TempMail() email = TempMail(login='login') email.get_list_of_emails() `

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

temp-email-0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

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