1secmail unofficial API, supporting random email generation, fetching messages and downloading attachments
Project description
1secmail unofficial API
This is an unofficial wrapper for 1secmail API.
It provides:
-
MailBoxMessage
,MailMessage
, andMailAttachment
convience dataclasses. -
Wrapper methods for:
- Getting list of 1secmail active domains ->
get_domain_list
- Generating random emails ->
gen_random_emails
- Fetching mailbox for an email ->
fetch_mailbox
- Fetching a message out of an email ->
fetch_msg
- Downloading file attachments from email messages:
download_attachment
- Getting list of 1secmail active domains ->
How to install
pip install onesecmail-api
How to import
Import this library with:
import onesecmail_api
or just some individual components with:
from onesecmail_api import (
MailBoxMessage,
MailAttachment,
MailMessage,
get_domain_list,
gen_random_emails,
fetch_mailbox,
fetch_msg,
download_attachment,
)
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
onesecmail-api-0.1.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for onesecmail_api-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d616fc727b262bba1310356923771889204e76596e1f8ba9cc2587088fbf8d3 |
|
MD5 | 5b697ba547f6dc15f3f49d10f4fb27cd |
|
BLAKE2b-256 | fb6151d0f8b46c930152e6022765bb709f109c4d356bc8c5b0654418bc9b2452 |