Python Client for the Mailinator Email System https://www.mailinator.com
Project description
Python Client for the Mailinator Email System https://www.mailinator.com
Usage:
Creating a client:
from mailinator.client import MailinatorClient client = MailinatorClient('token here')Getting all domains:
from mailinator.domain.interface import DomainsInterface domains_interface = DomainsInterface() domains = client.request(domains_interface) for d in domains: print(d)Get a single domain (by id):
from mailinator.domain.interface import DomainInterface domain_interface = DomainInterface(domain_id='hello.m8r.co') domain = client.request(domain_interface)
Get an inbox:
from mailinator.message.interface import InboxInterface inbox_interface = InboxInterface(domain_id='hello.m8r.co', inbox_id='test') inbox = client.request(inbox_interface) for msg in inbox.msgs: print(msg)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mailinator-python-client-0.0.2.tar.gz.
File metadata
- Download URL: mailinator-python-client-0.0.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef8c5c647da1c0ea1dc7b791cdceecfb40da0657d7c37ff59e3fc64906144f90
|
|
| MD5 |
cf70f7167a012a7a60da09f98bdd38db
|
|
| BLAKE2b-256 |
5a965c532c9c7b5eacbba00fe30a9f782b80f0944d563e3bfa18ea8ef57db659
|
File details
Details for the file mailinator_python_client-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mailinator_python_client-0.0.2-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cb11fb42a921ed19fc08e3006c5577d7fceb2bf059f765176bda290a2769a72
|
|
| MD5 |
a3add18d00cbc404b01f1dacababde4f
|
|
| BLAKE2b-256 |
94029fd1330f932460f2002d50c2b8ee7a2073f8476f61b79142a7b2ea41f60c
|