Skip to main content

EmailNator Lib

Project description

Telegram channel PyPI supported Python versions works badge

Library for working with the service https://www.emailnator.com/

import asyncio
from pyemailnator import CreateClient

async def main() -> str:
    client: CreateClient = CreateClient()
    random_email: str = await client.get_email()
    last_message: dict = await client.get_last_message_data(email=random_email)

    message_id: str = last_message['messageID']

    message_text: str = await client.get_message(email=random_email,
                                                 message_id=message_id)
    
    return message_text
    
if __name__ == '__main__':
    print(asyncio.run(main()))

DONATE (any evm) - 0xDEADf12DE9A24b47Da0a43E1bA70B8972F5296F2

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

pyemailnator-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

pyemailnator-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pyemailnator-0.0.1.tar.gz.

File metadata

  • Download URL: pyemailnator-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.66.1 urllib3/1.26.18 CPython/3.10.12

File hashes

Hashes for pyemailnator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d5e8c8f94366cf5ac636a1d8f6b1f012524fb5e5dbba0c38061210b8f72e7e04
MD5 0efa242d8925c7b7a5efaa42adf729d1
BLAKE2b-256 5afbd77ad9969dd82248b34c4a927f3644b7654f93a9398571cc48a91367cb1a

See more details on using hashes here.

File details

Details for the file pyemailnator-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyemailnator-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.66.1 urllib3/1.26.18 CPython/3.10.12

File hashes

Hashes for pyemailnator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54c8d5d08d4156b1e0fe5696da49959c6a44b9f2f72432d965d04e9f139835f4
MD5 c8c0c7bcc27b335c36fe0cef0e07e586
BLAKE2b-256 105b2b56e4a33fcd742fec0eadef006e77a053f43053b9e16ecde26e01a4c3c2

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