SDK for Mailinator
Project description
Mailinator Python SDK
The official Mailinator Python SDK. This REST API client is implemented as a thin wrapper around the Mailinator API. The OpenAPI specification is the source of truth.
API Reference
See Mailinator's API Reference for all of the currently available API endpoints.
Documentation
- OpenAPI spec: https://github.com/manybrain/mailinatordocs/blob/main/openapi/mailinator-api.yaml
- SDK examples:
EXAMPLE.md
Installation
pip install mailinator-python-client-2
Quick Start
from mailinator import Mailinator
client = Mailinator("YOUR_API_TOKEN")
For request examples (inbox, messages, domains, rules, webhooks, and stats), see EXAMPLE.md.
Tests
Run tests with:
python -m pytest -s
Most tests require valid environment values.
Use either:
.env(recommended): copy.env.exampleto.envand fill in values.tests/localsettings.py: copytests/localsettings.py.templatetotests/localsettings.py(it also loads.envif present).
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
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_2-1.0.8.tar.gz.
File metadata
- Download URL: mailinator_python_client_2-1.0.8.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07ba2b76640725e30210ff4b2f693f5bea345977012318a5524d7a1934c39075
|
|
| MD5 |
7146cc2fdd8b64078f7829669bba3756
|
|
| BLAKE2b-256 |
451d0a7776f42ac1e20b5f5e5b4ef4f6797954ca0c9f2d3be116b4fff1381ac0
|
File details
Details for the file mailinator_python_client_2-1.0.8-py3-none-any.whl.
File metadata
- Download URL: mailinator_python_client_2-1.0.8-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
777f09594544851149fe687d31c7f82aa3450106a6aec90385fdb8b7d7209d4e
|
|
| MD5 |
232c4d09053fb24f9ec37d4f78d1a496
|
|
| BLAKE2b-256 |
f2d8b9a4188a9f29bc5a98cf1b46a9a850b58d169c5d1ef0bf392a46511ee7af
|