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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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