freetempmail


Namefreetempmail JSON
Version 1.0.4 PyPI version JSON
download
home_pagehttps://github.com/DedInc/freetempmail
SummaryTemp-Mail.org API wrapper.
upload_time2023-09-09 08:34:11
maintainer
docs_urlNone
authorMaehdakvan
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">freetempmail - Temp-Mail.org API wrapper.</h1>

<h3 align="center">How to Use?</h3>

<h4 align="center">Quickstart Guide</h4>

```python
import asyncio
from freetempmail import FreeTempMail

if __name__ == '__main__':
    ftm = FreeTempMail()  # Instantiate class
    asyncio.run(ftm.generate_mail())  # Generate a temporary mail
    email = ftm.get_email()  # Fetch email info
    print(email)

    messages = ftm.get_messages()  # Fetch messages in mailbox
    print(messages)

    message_id = messages[0]['_id']  # Fetch a specific message by ID
    message_content = ftm.get_message(message_id)
    print(message_content)
```

<h4 align="center">Receive and Process a New Message</h4>

```python
import asyncio
from freetempmail import FreeTempMail

if __name__ == '__main__':
    ftm = FreeTempMail()  # Instantiate class
    asyncio.run(ftm.generate_mail())  # Generate a temporary mail
    email = ftm.get_email()  # Fetch email info
    print(email)

    new_message = ftm.wait_message()  # Wait and fetch a new message
    print(new_message)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DedInc/freetempmail",
    "name": "freetempmail",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Maehdakvan",
    "author_email": "visitanimation@google.com",
    "download_url": "https://files.pythonhosted.org/packages/42/d7/259f3b738b31d0aaf31f7a6243a1dbe9b483d204de1eaaa85cbcd8dfda3e/freetempmail-1.0.4.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">freetempmail - Temp-Mail.org API wrapper.</h1>\r\n\r\n<h3 align=\"center\">How to Use?</h3>\r\n\r\n<h4 align=\"center\">Quickstart Guide</h4>\r\n\r\n```python\r\nimport asyncio\r\nfrom freetempmail import FreeTempMail\r\n\r\nif __name__ == '__main__':\r\n    ftm = FreeTempMail()  # Instantiate class\r\n    asyncio.run(ftm.generate_mail())  # Generate a temporary mail\r\n    email = ftm.get_email()  # Fetch email info\r\n    print(email)\r\n\r\n    messages = ftm.get_messages()  # Fetch messages in mailbox\r\n    print(messages)\r\n\r\n    message_id = messages[0]['_id']  # Fetch a specific message by ID\r\n    message_content = ftm.get_message(message_id)\r\n    print(message_content)\r\n```\r\n\r\n<h4 align=\"center\">Receive and Process a New Message</h4>\r\n\r\n```python\r\nimport asyncio\r\nfrom freetempmail import FreeTempMail\r\n\r\nif __name__ == '__main__':\r\n    ftm = FreeTempMail()  # Instantiate class\r\n    asyncio.run(ftm.generate_mail())  # Generate a temporary mail\r\n    email = ftm.get_email()  # Fetch email info\r\n    print(email)\r\n\r\n    new_message = ftm.wait_message()  # Wait and fetch a new message\r\n    print(new_message)\r\n```\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Temp-Mail.org API wrapper.",
    "version": "1.0.4",
    "project_urls": {
        "Bug Tracker": "https://github.com/DedInc/freetempmail/issues",
        "Homepage": "https://github.com/DedInc/freetempmail"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "79ea3d7a81b36f3fd4a05b40e0c0c9532ab859c58d1b066d8677667fe75443e5",
                "md5": "fb97f019218ffef0c9a8e62cff25d088",
                "sha256": "80daaecaa9588d2a5a42ddd5dde6e5eac4aff966ff8feb1520c5576d6078ac6d"
            },
            "downloads": -1,
            "filename": "freetempmail-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fb97f019218ffef0c9a8e62cff25d088",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4194,
            "upload_time": "2023-09-09T08:34:09",
            "upload_time_iso_8601": "2023-09-09T08:34:09.667355Z",
            "url": "https://files.pythonhosted.org/packages/79/ea/3d7a81b36f3fd4a05b40e0c0c9532ab859c58d1b066d8677667fe75443e5/freetempmail-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "42d7259f3b738b31d0aaf31f7a6243a1dbe9b483d204de1eaaa85cbcd8dfda3e",
                "md5": "c38e2c6139accb4dfbf3feaaf720ecf6",
                "sha256": "d9258a0d1be0ec31bc53f23ec60bec7c9f2a342de8678b2f0ce7bc97051b0fe2"
            },
            "downloads": -1,
            "filename": "freetempmail-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "c38e2c6139accb4dfbf3feaaf720ecf6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3879,
            "upload_time": "2023-09-09T08:34:11",
            "upload_time_iso_8601": "2023-09-09T08:34:11.143590Z",
            "url": "https://files.pythonhosted.org/packages/42/d7/259f3b738b31d0aaf31f7a6243a1dbe9b483d204de1eaaa85cbcd8dfda3e/freetempmail-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-09 08:34:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DedInc",
    "github_project": "freetempmail",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "freetempmail"
}
        
Elapsed time: 0.45997s