Skip to main content

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

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.example to .env and fill in values.
  • tests/localsettings.py: copy tests/localsettings.py.template to tests/localsettings.py (it also loads .env if 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

mailinator_python_client_2-1.0.8.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mailinator_python_client_2-1.0.8-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file mailinator_python_client_2-1.0.8.tar.gz.

File metadata

File hashes

Hashes for mailinator_python_client_2-1.0.8.tar.gz
Algorithm Hash digest
SHA256 07ba2b76640725e30210ff4b2f693f5bea345977012318a5524d7a1934c39075
MD5 7146cc2fdd8b64078f7829669bba3756
BLAKE2b-256 451d0a7776f42ac1e20b5f5e5b4ef4f6797954ca0c9f2d3be116b4fff1381ac0

See more details on using hashes here.

File details

Details for the file mailinator_python_client_2-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for mailinator_python_client_2-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 777f09594544851149fe687d31c7f82aa3450106a6aec90385fdb8b7d7209d4e
MD5 232c4d09053fb24f9ec37d4f78d1a496
BLAKE2b-256 f2d8b9a4188a9f29bc5a98cf1b46a9a850b58d169c5d1ef0bf392a46511ee7af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page