Skip to main content

A Python client library for the GetTestMail API

Project description

python-sdk

Python SDK for GetTestMail

This Python client library allows you to interact with the GetTestMail API, which provides a simple way to create temporary email addresses and receive messages sent to them.

Usage

from gettestmail.client import GetTestMailClient

# optional parameters
expires_at = "2023-04-01T00:00:00Z"

client = GetTestMailClient("your-api-key")
test_mail = client.create_new()
print(test_mail.emailAddress)

# This will wait for a message to be received up until expires_at time
test_mail = client.wait_for_message(test_mail.emailAddress)
print(test_mail.message)

API Documentation

TODO

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

gettestmail-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

gettestmail-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file gettestmail-1.0.0.tar.gz.

File metadata

  • Download URL: gettestmail-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for gettestmail-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f72494291c529ae6dd87fed09a954a8de48222c0f79cd5c6e81023180bbcb0f5
MD5 31bc8bf10d70d818fb572711b0f03042
BLAKE2b-256 854ae0fc20b8e6dec7c78c5e1c5075ea41ce5208a3aea5af099da638d07242b3

See more details on using hashes here.

File details

Details for the file gettestmail-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gettestmail-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for gettestmail-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fec328b21288b3cea0e7b56f98ab25cd3994ecb2bb9bafff3786ab54333da5f3
MD5 bd81b9b883a983e91dcca986568866e7
BLAKE2b-256 40fd7f61fdebcc8ea453b1dd0940d0c2818d1eae76ffc1b9e4a4da0308322639

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