Skip to main content

Python Client for the Mailinator Email System

Project description

Python Client for the Mailinator Email System


  1. Creating a client:

    from mailinator.client import MailinatorClient
    client = MailinatorClient('token here')
  2. Getting all domains:

    from mailinator.domain.interface import DomainsInterface
    domains_interface = DomainsInterface()
    domains = client.request(domains_interface)
    for d in domains:
  3. Get a single domain (by id):

    from mailinator.domain.interface import DomainInterface
    domain_interface = DomainInterface(domain_id='')
    domain = client.request(domain_interface)
  4. Get an inbox:

    from mailinator.message.interface import InboxInterface
    inbox_interface = InboxInterface(domain_id='', inbox_id='test')
    inbox = client.request(inbox_interface)
    for msg in inbox.msgs:

Project details

Download files

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

Files for mailinator-python-client, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size mailinator_python_client-0.0.2-py3-none-any.whl (20.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mailinator-python-client-0.0.2.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page